Search Issue Tracker
By Design
Votes
0
Found in [Package]
4.10.0 - prievew
Issue ID
1229185
Regression
No
[URP] GameObject Shader is invisible in Scene/Game View until Shader Property panel window is expanded
Reproduction steps:
1. Create a new URP project
2. Import the provided custom package "UrpTree.unitypackage"
3. In the Project window open "Repro.unity" Scene
Expected result: GameObject "Tree_01 (8)" is not invisible in the Game/Scene View even when Shader Property panel isn't expanded
Actual result: GameObject "Tree_01 (8)" is invisible in the Game/Scene View until Shader Property panel is expanded
Reproduces on: LWRP 4.10.0 - prievew (2018.4.20f1), URP 7.3.1 (2019.3.9f1), 9.0.0-preview.14 (2020.1.0b5, 2020.2.0a7)
Couldn't test on 2017.4 (No package)
Notes:
-Until the Editor is restarted the issue does not reproduce when Shader properties panel is expanded in the Inspector window
-Only reproducible when Surface Type is set to "Transparent"
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
The bug was caused by invalid data in the unitypackage.
To fix the bug:
Import the project.
Click on the "./Tree_01 (8).prefab" prefab or material "./Cube_World/Models/Materials/Props.mat" to update the texture.
Now the tree should work as expected.
If you want the unitypackage to be valid then export the working tree prefab together with the Cube_World folder.