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
- VFX Graph has blurry icon of Graph Debug Information tab
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
Add comment