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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
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.