Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0f5
2019.3.0f6
2020.1.0a19
Issue ID
1217082
Regression
Yes
Editor crashes on SpriteAtlas::CalculateCurrentPackingHash when entering Play mode and Sprite Packer is set to Always Enabled
How to reproduce:
1. Open the attached "case_1217082.zip" project
2. Go to Edit > Project Settings > Editor
3. Set Sprite Packer Mode to Always Enabled
4. Enter Play mode
-- Observe the crash
Reproducible with: 2019.3.0f5, 2019.3.1f1, 2020.1.0a18, 2020.1.0a22
Not reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.3.0f4, 2020.1.0a18
Note: the crash is caused by the "Other.spriteatlas" asset which has None object in the Objects For Packing list.
Top lines of the stack trace of the crash:
0x00007FF79CB8AA3E (Unity) SpriteAtlas::CalculateCurrentPackingHash
0x00007FF79CB96E70 (Unity) PackSpriteAtlases
0x00007FF79DED8D03 (Unity) OnEnterPlayModePreAwakeStatic
0x00007FF79C562C29 (Unity) CallbackArray::Invoke
0x00007FF79CC0E243 (Unity) PlayerLoopController::EnterPlayMode
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment