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

2D

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.