Search Issue Tracker

Won't Fix

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

Package: Splines

-

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”

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.