Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X
Votes
1
Found in
6000.0.44f1
6000.1.0b12
6000.2.0a7
6000.3.0a1
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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment