Hi,
I’m working on a project that uses Unity’s XR interactions toolkit. A few months back I was hurriedly trying to figure out how to make an android/quest 2 build for the game (foolish, I know) and I was trying various things. I think I installed the oculus XR plugin as well, and I’ve since removed it. Anyway, this is when I first noticed that my textures now turn pink in the built version of the game, even when switching back to the PC platform.
Looking into this issue before, I know that an Oculus XR setting has been known to cause this, however like I said I uninstalled it.
I’ve looked into some of the other causes for this particular issue on other threads, but they don’t really seem to work for me.
My project is URP, but I’ll reiterate that in the editor everything is fine so I don’t think it’s an issue with the renderer being used as is would be the case if they were pink inside the editor (they aren’t). Everything only turns pink after building.
These are just quickly made Materials slapped onto the asset itself usually (looks like it even happens to the default unity 3D cubes which use a default texture), but here’s an example of one test model material I made:
These are mostly just quickly made materials using default unity URP shaders. I made sure to try turning stripping settings off in the URP Global Settings:
And yes, I have tried deleting my ShaderCache in Library
Will I need to remake the project completely?
Please help, any advice would be appreciated. Thanks.