Search Issue Tracker
Active
Votes
0
Found in
6000.0.24f1
Issue ID
UUM-84879
Regression
Yes
Constant buffer is not properly updated for the depth pass when rendering a custom mesh on DirectX12
Reproduction steps:
1. Open the attached “repro_IN-85432“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the “Cube“ GameObject
Expected result: The constant buffer is properly updated for the depth pass, resulting in correct shadows on the cube
Actual result: The constant buffer is not properly updated for the depth pass, causing incorrect shadows on the cube
Reproducible with: 2023.3.0a11, 6000.0.24f1
Not reproducible with: 2021.3.45f1, 2022.3.51f1, 2023.3.0a10
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
* Not reproducible with DirectX11
* Reproducible in Player
* Enabling the “Frame Debugger“ (“Window → Analysis → Frame Debugger“) while in Play Mode seems to force the constant buffer to update properly and fixes the issue
* User debugged this with The “RenderDoc“ application and found that “unity_LightShadowBias” is most likely the culprit
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "EndLayoutGroup: BeginLayoutGroup must be called first." error is thrown after building the project when Scripting Backend and Api Compatibility Level fields are changed
- GameObjects with Local Volumetric Fog Component and Fog Volume Shader Graph produce numerous render errors when there are more than 300 of them generated in the Scene
- Adaptive Probe Volumes system places some Light Probes in incorrect positions when Generating Lighting
- Constant buffer is not properly updated for the depth pass when rendering a custom mesh on DirectX12
- AfterRendering Event of the URP RendererFeatures renders with inverted Y axis
Add comment