You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a tween with a duration of 0 leaves the object in an invalid state with NaN as the value and cannot be tweened afterwards, unless the value is explicitly set to a valid one.
NOTE: This works in 3.86.0 and prior
Example Test Code
Tweak the sprite alpha example to a tween and see the outcome. This might be happening with other values, but I haven't tested those.
When passing in dynamic values sometimes a 0 makes it's way down the chain. In a large codebase where this has worked for ages, it's a tricky one to track down. Either way, it shouldn't leave the sprite in a state where you cannot tween it back to a different value.
Version
Description
Adding a tween with a duration of
0
leaves the object in an invalid state withNaN
as the value and cannot be tweened afterwards, unless the value is explicitly set to a valid one.NOTE: This works in 3.86.0 and prior
Example Test Code
Tweak the sprite alpha example to a tween and see the outcome. This might be happening with other values, but I haven't tested those.
Sandbox
The text was updated successfully, but these errors were encountered: