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
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
- Erratic behavior while editing UI in prefab when Canvas "Render Mode" is set to "Screen Space - Camera" option
- The Selection Wire Gizmo is not being rendered in the Scene View when GPU Resident Drawer is enabled
- Visual Effect with Single Burst Spawn System stops playing when an Additive Scene is loaded asynchronously with SceneManager.LoadSceneAsync
- The sprite draw calls are batched in the Player when the Sprite Atlas is uploaded from an AssetBundle and the Sprite Atlas Mode is set to Disabled
- The Joint Anchor position remains the same when the GameObject is dynamically scaled
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.