Search Issue Tracker
Fixed in 2022.2.X
Votes
1
Found in
2022.1.0b3
Issue ID
1395978
Regression
Yes
Negative Discrete Int deletes key
When animatitng an Integer using [DiscreteEvaluation], positive numbers are keyed as expected, but negative values are not keyed and actually delete any existing key on that frame..
Repro:
- Add an Int with [DiscreteEvaluation] to a script
- Add the script to a GO in your scene
- Open the Animation Window and create a new animaton clip on this GO
- Set the AW to Rec mode
- Using the Inspector, drag int value in script component to create a key
- Move time and create a few keys with different values
- Try creating a negative value....
bug: key is not created.
- Move time over an exting key
- update value to be negative....
bug: Key is deleted.
example Int:
[DiscreteEvaluation]
public int myInt;
This is a regression.
Repro in... 2022.1.0b3
Not repro in... 2021.2.0b11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Player consumes more CPU resources when it is running in the background
- Save process is triggered every time when prefab property values are changed by dragging
- Physics.SphereCastNonAlloc is slow when the results array is large
- Colors of GameObject are changed and the background color is green when disabling the “Intensity” of “Bloom” in “Global Volume” GameObject and enabling the “Allow Dynamic Resolution” setting in Camera
- .editorconfig files are ignored when a Roslyn analyzer is running through the Editor
Add comment