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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.