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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.