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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
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.