Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
7
Found in
2022.3.60f1
6000.0.41f1
6000.1.0b11
6000.2.0a7
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-100215
Regression
No
URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
Reproduction steps:
1. Open the attached “IN-97028.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Put the Scene and Game view side by side
5. Move around in the Game view with WASD keys
6. Observe the shadows in the Game view
Expected result: Shadows look distorted and have a glitchy behavior
Actual result: Shadows do not look distorted and look the same as in Scene view
Reproducible with: 2022.1.0a1, 2022.3.60f1, 6000.0.41f1, 6000.1.0b11, 6000.2.0a7
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Also reproduces in the Player
- Does not reproduce when the Camera Projection is set to “Orthographic” or the “Camera” GameObject is not rotated on the X axis
Comments (2)
-
unity_7_JMzyA8zSL9sw
Oct 07, 2025 22:47
This is happening to me with orthographic camera as well. Any camera rotated on the z axis will break shadowcasters. I suspect this is some kind of optimization they made that is supposed to make shadowcasters disappear when not in camera view, but they forgot to account for camera rotation.
-
Puliping
Mar 17, 2025 18:22
Looks like the Expected and Actual results are swapped
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
There is relative rotation between the camera and the ShadowCaster2D. This is not supported by 2D shadows.
Resolution Note (6000.5.X):
There is relative rotation between the camera and the ShadowCaster2D. This is not supported by 2D shadows.