Search Issue Tracker
Active
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Add comment