Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.4.0f1
2018.2.6f1
2018.3.0a1
2018.4.0f1
2019.1.0a1
2019.2.0a1
Issue ID
1154832
Regression
No
2D Sprite Prefab Loaded from an AssetBundle loses its Texture reference when it is Instantiated after AssetBundle is unloaded
Steps to reproduce:
1. Open the original project "TestSpriteTextureMissing.zip"
2. Navigate to Project -> Assets -> Scenes and open SampleScene
3. In the top menu bar select "Test" and "BuildAssetBundle"
4. Enter Play mode
--Notice the sprite on the left lost its reference to the texture
Expected results: 2D Sprite Prefab Loaded from an AssetBundle is Instantiated with all its references after AssetBundle is unloaded
Actual results: 2D Sprite Prefab Loaded from an AssetBundle loses its Texture reference when it is Instantiated after AssetBundle is unloaded
Reproducible with: 2017.4.28f1, 2018.4.1f1, 2019.1.4f1, 2019.2.0b4, 2019.3.0a2
Note: Versions 2019.3.0a3 and above do not load the Assets from the AssetBundle, probably because of new Editor
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Fixed by building asset bundles with the Scriptable Build Pipeline package.