Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.2
2019.3
2019.3.0b9
2020.1
Issue ID
1197244
Regression
No
GameObject.isActive Property is sometimes ignored when using it with Animator Keyframes
How to reproduce:
1. Open the attached project
2. Open the Scene labeled "SampleScene"
3. Enter the Play Mode
4. Inspect the Animation in Game View
Expected result: Every time when the card appears there is a Particle effect shown.
Actual result: Sometimes the Particle effect is not shown when a card appears
Reproducible in: 2018.4.13f1, 2019.2.12f1, 2019.3.0b10, 2020.1.0a13
Couldn't test with Unity 2017.4.34f1 (Unity crashes unexpectedly when downgrading the project)
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
Resolution Note:
This is a limitation of the animation system. Curves are not evaluated precisely at transition and it shouldn't be relied on to set the state of game objects.
You can use animation events instead which will also be processed at the last frame of the animation clip.