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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.