#Universal Render Pipeline Material Issue
1 messages · Page 1 of 1 (latest)
What are your VR settings?
Are you talking about these? And also I use a Pico 4 to test the game through SteamVR.
Yes and also the OpenXR settings under XR Management
Here you go
Ok it looks ok, can you select your chair while in play mode and see what it looks like in the inspector?
I mean while you're playing and it's pink
So in edit mode you have three materials applied, but in play mode only 1. What's changing that and what's the new material?
The prefab that didn't turn pink still has its material in play mode, but the pink prefab doesn't have any. They both are using the same material.
You can expand the arrow where it says "Materials" to see what's in the list
This is the material used
There are total 7 materials in the material folder, but I applied only a single material to all the prefabs
I got these assets from unity asset store, so I'm not quite sure about this issue
While in play mode, on an object with pink colour, expand this dropdown
There is no material in the pink prefab but there is a material in the normal prefab
So that's your issue
Some script is removing the materials of your objects or setting it to null
Ok I found out what's the problem. The Element 0 Material in Mesh Renderer is the key, If it is none, then the prefab will turn pink in game scene, if there a material in Element 0 then it will work fine. God I don't know why it came like this at the first place. Anyway thanks for your time trying to help me.