Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
Issue ID
1241959
Regression
No
[SRP Batcher] cyan shader renders template scene objects in wrong positions
repro steps:
1. create a new URP template project
2. add a new scene
3. create a cube
4. move cube position (away from origin)
5. create a new material
6. select a shader for new material (some shaders don't repro, known to repro using AutodeskInteractive or Simple Lit)
7. select active URPAsset in project tab
8. in inspector, uncheck "SRP Batcher"
9. drag material from project tab to cube in scene view
10. observe cyan flicker when material changes, position of cyan cube is correct
11. select URPAsset and check "SRP Batcher"
12. in the scene, add a point light
13. observe cube flickers cyan while shader compiles, position of cube is incorrect
Expected: cyan shader is rendered in correct position
Actual: cyan shader is rendered in incorrect position
repro: 2019.3.0a12 + URP 7.0.1, 2020.2.0a9 + URP 9.0.0 (master @ 574ea539eef053e9defcd1d040575ecd45786253 ), 2020.2.0a20 + URP 10.0.0-preview-27
Notes:
- this is more visible since the SRP batcher option was enabled by default in new template projects from 2019.3.0a11
- in 2020.2.0a20 the cyan shader does not appear to render at all in scene view (even with the wrong position)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
verified fixed in 2021.1.0a7 and Universal RP 10.2.0
Now changing the shader variant in editor (like adding a new material to the scene or changing lights) will correctly show affected objects as cyan while shaders compile.