Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2019.4
2019.4.3f1
2020.1
2020.2
Issue ID
1267356
Regression
No
Silent crash when calling AnimationPlayerState.Initialize
How to reproduce:
1. Open user attached project "AnimationPlayerWork.7z"
2. Open the scene "Animation Player Work Scene".
3. Select "Ellen" GameObject.
4. Find the "AnimationPlayer" component on that object, and expand the only state under "Single Clip States"
5. Press "play" under "Preview" twice
Expected result: Editor does not crash
Actual result: Editor crashes
Reproducible with - 2019.4.7f1, 2020.1.0b16, 2020.2.0a20
Not reproducible with - 2018.4.26f1 (Editor errors)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2021.2.X):
The following code is recursive emptyClip is going to call itself and cause a stack overflow (should use _emptyClip instead in the property getter)
public static AnimationClip emptyClip => (_emptyClip) != null ? emptyClip : (_emptyClip = new AnimationClip())