Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X
Votes
1
Found in
6000.0.44f1
6000.1.0b12
6000.2.0a7
Issue ID
UUM-100850
Regression
No
Material Properties are not preserved when overriding Shader using Render Objects
Reproduction steps:
1. Open the attached “IN-96982.zip” project
2. Open the “SampleScene”
3. Select the “PC_Renderer” from the Project Window (Assets > Settings)
4. In the Inspector find the “Render Thermal” Component
5. Under the Overrides tab in the Shader property make sure “SimpleThermalRenderStateCommands” Shader is selected
6. Observe the Game view
Expected result: GameObjects behind the Stencil have a gray tint
Actual result: GameObjects behind the Stencil become invisible
Reproducible with: 6000.0.44f1, 6000.1.0b12, 6000.2.0a7
Couldn’t test with: 2022.3.60f1 (The Shaders did not work)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Stencil GameObject is added as a child of the Main Camera GameObject
- Selecting “SimpleThermal” Shader shows the expected result
- Clicking on the “SimpleThermalRenderStateCommands” Shader through the Project Window appears to fix the issue, but closing and re-opening the project makes the issue reproduce again
- The stencil becomes invisible due to the material properties being set to 0 which can be confirmed in the Frame Debugger, where the Color and Alpha are being set to 0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Add comment