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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Fixed by building asset bundles with the Scriptable Build Pipeline package.