Search Issue Tracker
Won't Fix
Won't Fix in 2021.3.X
Votes
0
Found in
2021.3.30f1
Issue ID
UUM-48732
Regression
No
BlendTree inverted directions when using FlipX
How to reproduce:
1. Download and open the attached project
2. Open "SampleScene" scene
3. Enter "Play" mode
4. Move the mouse cursor around the green car in the middle of the "Game" view
Expected outcome: The green car always faces the direction of the mouse cursor
Actual outcome: The green car faces the opposite direction in angles 0, 45, 315
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.ob9, 2023.3.0a5
Reproduced on: macOS (Ventura 13.4)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2021.3.X):
There are no fixes planned for this Bug
Resolution Note (2021.3.X):
When booleans are blended together, they are blended as floats, and any non-zero value is treated as true.
While this is not ideal, and there are good arguments for treating 0.5 as the point where the blending goes from true to false, this behavior has been the same for at least the past 12 years, and there are countless released games that rely or may rely on the existing behavior. Therefore we will not be changing this behavior at the moment, as we deem the risk to break existing games is too high.
Here are some workarounds you can use to achieve a similar result:
* Using actual flipped sprites
* Animating a float on a MonoBehaviour and using the OnDidApplyAnimationProperties callback on the MonoBehaviour to convert this float to a boolean, then applying it to FlipX.