Search Issue Tracker
Won't Fix
Won't Fix in 2.7.X
Votes
0
Found in [Package]
2.7.2
Issue ID
SPLB-337
Regression
No
GameObject tilts to the side when it's moving along a Spline
Reproduction steps:
1. Open the attached “repro_IN-90362“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the box while it moves
Expected result: The box moves without tilting
Actual result: The box periodically tilts to the side while moving, but resets the tilt when it hits the edge of the Spline
Reproducible with: 2.7.2 (2022.3.56f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1)
Couldn’t test with: 2.5.2 (2022.1.0a10) - “FloatField“, “Vector3Field“ and “ICreateToolbar“ namespaces couldn’t be found
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Player
- Move around the Scene to see more case scenarios prepared by the user
- According to the user, the issue appears to be with the “Evaluate” method and the returned “upVector”
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note:
We found the cause of this bug in the up vector code, and we do have a change that would fix it. However, by changing the code it can result in a valid but quite a different set of up vectors being generated. Landing the fix as it is is not an option as it could result in people's existing scenes getting broken.
We are considering some changes in how rotations and up vectors are handled that would land in a later version of splines so we will address this problem when we get to that work.
Resolution Note (2.7.X):
We found the cause of this bug in the up vector code, and we do have a change that would fix it. However, by changing the code it can result in a valid but quite a different set of up vectors being generated. Landing the fix as it is is not an option as it could result in people's existing scenes getting broken.
We are considering some changes in how rotations and up vectors are handled that would land in a later version of splines so we will address this problem when we get to that work.