Search Issue Tracker

By Design

Votes

0

Found in

5.5.0xf3

Issue ID

864199

Regression

No

Animator component keeps a Gameobject alive after calling SetActive(false)

Animation

-

Steps to reproduce:
1. Open the attached project (Bug-AnimDisable.zip)
2. Open the Assets/bug-animdisable.unity scene
3. Play the scene
4. Use the right mouse button (In the first state, the object gameobject should be hidden, in the second state it should be set to active when entering the state)
5. Use the left mouse button (to disable the gameobject)
6. Observe, the gameobejct is disabled, but immediately activated again, as verified by log output

Expected result: Gameobject should be disabled
Actual result: Gameobejct is disabled, but immediately activated again

Reproduced with: 5.3.7p3, 5.4.3p4, 5.5.0f3, 5.5.0p3, 5.6.0b2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.