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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
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.