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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
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.