Search Issue Tracker
Fixed in 5.2.4
Votes
8
Found in
5.2.1p4
Issue ID
737437
Regression
Yes
[Animator] Enabling Animator which was disabled in animation crashes Unity
Update: fixed in 5.2.3p1
Steps to reproduce:
1. Open attached project
2. Open scene "TestScene"
3. Run it
4. Select "BuggedAnimator" in hierarchy, disable and re-enable it
5. Enable "BuggedAnimator's" Animator component
6. Observe a crash
Note: "BuggedAnimator" object has animation which disables Animator component
Note: Not fixed in 5.2.2
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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
jc_203
Dec 03, 2015 15:55
@HEVYDEVY83 It says it's fixed in 5.2.3p1 not 5.2.3f1.
https://unity3d.com/unity/qa/patch-releases/5.2.3p1
HevyDevy83
Nov 20, 2015 09:55
Sadly if have to inform you that it is not fixed in 5.2.3f1.
We still have to make sure that the animator is enabled in the prefab, otherwise the editor/app crashes.
Additionally for some prefabs we were disabling the animator on Awake of a scene and enable it again after a fade-in, but even that is not working. We had to restrict that code to a specific Unity-Version.
#if !UNITY_5_2_2
battleCameraAnimator.enabled = false;
battleCameraAnimator.applyRootMotion = true;
#endif
Now we have to include 5.2.3 there to :(
CrazyRocksStudios
Nov 18, 2015 13:28
Hi all,
I have found a workaround for this problem. ( Using 5.2.2f1 )
The problem occurs when You disable animator during animation transition and enable it later so,
Try to set some animation state manually ( e.g. "Idle" ) just before disabling the animator:
mAnimator.Play("Idle");
mAnimator.enabled = false;
This helped in my case ( disabling animator for ragdoll )
Cheers ;)
Aram-Azhari
Nov 06, 2015 18:38
Still happens in 5.2.2p3.
georgepiva
Nov 04, 2015 16:56
Still happens on 5.2.2p1.
zbyhoo
Oct 26, 2015 12:58
Still happens on 5.2.2
ShrinePhaNT0M
Oct 21, 2015 20:36
BTW, I'm using 5.2.1p3
MatthieuP
Oct 21, 2015 07:08
I'h having the same issue.
ShrinePhaNT0M
Oct 21, 2015 00:16
Same thing happened to me. It's very important to me!