Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2017.1.0p2
Issue ID
941904
Regression
No
SpriteAtlasDatabase::CollectAllAtlasAssets crash when using GameObject.DestroyImmediate(atlas,true); in play mode
To reproduce:
1. Open users attached project "spriteAtlasTest.zip"
2. Open "testAtlas.unity" scene
3. Enter play mode
4. In the hierarchy select Canvas > Image
5. In the inspector window you can see two buttons "Load" and "UnLoad"
6. Press "Load" button
7. Observe as Image component Source Image is set to a sprite
8. Press "UnLoad"
9. Observe as the Source Image says "Missing (Sprite)"
10. Press "Load" again, console throws NullReferenceException
11. Exit Play mode and enter Play mode again
Expected result: Unity enters play mode with no crashes
Actual result: Unity crashes
Reproduced on: 2017.1.0a5 2017.1.0a6 2017.1.0f3 2017.2.0b7 2017.3.0a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Add comment