Search Unity

Android (Quest) build crashes if a script is added to the scene.

Discussion in 'Editor & General Support' started by NewReality123, Jul 17, 2020.

  1. NewReality123

    NewReality123

    Joined:
    Jun 28, 2019
    Posts:
    5
    So I've got this unique bug that's popped up in Unity 2019.4.3f1. I have a scene that works fine when built to the Oculus Quest headset, but if I add a script to one of the objects that scene will now crash the experience when it loads in the headset.

    Normally I'd wonder if there's a function or something making it crash but nothing runs in the script without being told to by other scripts. There's no awake, start, or update. In fact it still crashes if the script is disabled on the object.

    Clarification: When I say crash I mean the experience freezes, the screen goes black and then the app stops responding and Oculus gives me the option to close the program.

    I'm completely confused here. Any help would be greatly appreciated.