Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
AnhVanHo's avatar
AnhVanHo
Honored Guest
2 years ago

Shader in Unity

Hi, I tried to build and deploy the Android application on Oculus Quest 2 (Unity). I used Shader to draw the surface of an object,
 
meshRenderer.material = new Material(Shader.Find("Particles/Standard Surface"));
 
 Everything worked well until I built and ran on Quest 2; the object did not appear on Quest2.
Do you have any idea to fix this?
Thank you
Replies have been turned off for this discussion