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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment