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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Resolution Note:
Fixed in: 2022.2.0a13