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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.