Search Issue Tracker
By Design
Votes
1
Found in
5.6.0f3
Issue ID
907459
Regression
No
Shadows instanced by Graphics.DrawMeshInstanced produce artifact when using Trail Renderer
To reproduce:
1. Import Unity package attached by the user
2. Load the scene named "BUG_0_GrassShaderShadowsDisplacement" from the "_Scene" folder
3. Hit play
4. Walk using WSAD keys
Expected: Artifact shouldn't appear for trail renderer. Shadows should be affected by the trail.
Actual: Artifact appears and affects shadows.
Reproduced with : 5.6.2f1, 2017.1.0b10, 2017.2.0a4
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
User setup error, sampling a game camera relative screen mask by using shadow camera relative parameters. The wrong screenmask UV calculation erroneously samples a displacement texture, leading to artifacts in shadow calculations that appear as ghosting on the screen.