Search Issue Tracker
Fixed
Votes
0
Found in [Package]
14.0.2
Issue ID
1403119
Regression
No
Up direction is not set and calculated as expected when using Light Anchor
Reproduction steps:
1. Open the attached project "LightAnchorTest"
2. Open "Assets/Scenes/New Scene"
3. Select GameObject "Spot Light"
4. In the Light Anchor component set Up Direction to "World"
5. Rotate "Camera" along Z axis
6. Observe light rotation
7. In the Light Anchor component set Up Direction to "Local"
8. Rotate "Camera" along Z axis
9. Observe light rotation
Expected result: When Up Direction is set to "World" light stays on the same side of the sphere
Actual result: Light stays on the same side of the sphere when Up Direction is "Local"
Reproducible with: 12.0.0 (2021.2.0b15), 12.1.6 (2021.2.19f1), 13.1.7 (2022.1.0b14), 14.0.2 (2022.2.0a9)
Couldn't test with: 7.7.1 (2019.4.37f1), 10.8.1 (2020.3.32f1) (Light Anchor not available)
Notes:
- rotating the camera while having "World" set as Up direction has a strange offset
- also reproducible with URP
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note:
Fixed in: 2022.2.0a13