Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.4.0f1
2017.4.23f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1178765
Regression
No
Crash on AnimationState::~AnimationState when exiting Play Mode after recompiling scripts
How to reproduce:
1. Open the "fixed_repro.zip" project
2. Open "InitialisationScene.unity" scene
3. Enter Play Mode
4. Press "New User" and complete character creation
5. Press "Make Friends" (if new account) or select "Travel"
6. Select any place (selection is premade if playing for first time)
7. Press Dance Icon
8. Select Dance > Rodeo Party
9. Open the "MessageBasePanel.cs" script:
-Delete public virtual void Initialise(MessageCellBaseData data) function
10. Focus Unity and let scripts recompile
11. Restore the public virtual void Initialise(MessageCellBaseData data) function in MessageBasePanel.cs script
12. Focus Unity and let scripts recompile (null references appear and project breaks)
13. Exit Play Mode
14. If Unity didn't crash, repeat from step 5 (character will already be created)
Actual result: Unity crashes.
Reproducible with: 2017.4.32f1, 2018.4.8f1, 2019.2.4f1, 2019.3.0b2, 2020.1.0a8.
Notes:
- Dancing or watching at more people seems to increase the chance of crashing.
- Unity crashes after 1-6 tries most of the time.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment