Script Working In Editor, but not when I build and launch on Oculus Quest 2

Hi,

My game works perfectly fine in Editor, but when I try to build it and transfer it inside my Quest 2 (using SideQuest), one of the script (maybe more ?) won’t work.

How do I know that ? I have a watch in my game, displaying some information. One of the script is supposed to change some of those information on start , but it won’t after the build.

(those are my building settings)

I do have other scenes, but I don’t need them so for now I don’t build them (I’ve tried to, but it won’t make any differences)

I’m currently using Windows 10 & Unity 2020.1.9f.

Do you guys have any ideas how I could fix this ? I’ve tried searching online, some peoples are having the same problem (at least for android apk, maybe not for android + VR, if there is any differences) but none of the solutions are working.

I can provide more information if necessary !

Thanks a lot & have a great day !

Use Debug.Log, along with adb logcat, to check your assumptions and see what’s going on in your scripts.

1 Like