Search Issue Tracker
Fixed in 5.3.6
Votes
1
Found in
5.3.4p3
Issue ID
788946
Regression
Yes
Animating GameObject.IsActive of a child with Animator Controller crashes.
Animating GameObject.IsActive() of a child with Animator Controller crashes.
Steps to reproduce:
1. Download attached project "788946.zip".
2. Run scene "reproScene".
3. After few cube blinks Unity crashes.
Steps to reproduce without a project:
1. Create empty game object.
2. Create and parent cube to previously created GO.
3. Create animator for both of them.
4. Create animation for empty game object - animate child cube's GameObject.IsActive() - make the cube "blink".
5. Enter play mode - after few seconds Unity crashes.
Reproduced with 5.3.4p2, 5.3.4p3, 5.4.0b13 and 5.4.0b14.
Does not reproduce on 5.3.4p1 and 5.4.0b12
Comments (1)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Aedous
Apr 20, 2016 15:38
Just some extra notes, it's not just animating the gameobject, but any gameobject with an animator that has children with an animator will cause Unity to crash if you delete/disable the parent whether it's through code or the editor.
I've tested it on 5.3.4p2 and 5.3.4p3.