Oculus Builds Not Running(Crashing)

Viewed 16

I have made a unity physics based Jetski Game and am having trouble with getting it onto my Oculus Quest 2 and it actually working. For me I am stuck in a place that doesn't have good enough Wi-Fi to run air link and don't have the cable link. These has caused me to build it straight onto the headset itself. When running it on the headset the three loading dots would start playing its animation and never stop, but when you clicked the oculus button it would come up with the error "JetSki has stopped working." (JetSki is the game name.)

These are the tools that I am using and other information that may be needed:

How I set up the keystore: https://www.youtube.com/watch?v=qFS77pQ2VaQ

How I set up VR in unity: https://www.youtube.com/watch?v=HhtTtvBF5bI and https://www.youtube.com/watch?v=8PCNNro7Rt0

How I am getting the inputs:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;

public class InteractionInput : MonoBehaviour
{
    public InputActionProperty triggerPress, triggerBool;
    public InputActionProperty gripPress, gripBool;
    [HideInInspector]
    public float gripValue, triggerValue;
    [HideInInspector]
    public bool gripPressed, triggerPressed;

    void Update()
    {
        triggerValue = triggerPress.action.ReadValue<float>();
        triggerPressed = triggerBool.action.ReadValue<bool>();

        gripValue = gripPress.action.ReadValue<float>();
        gripPressed = gripBool.action.ReadValue<bool>();

    }
}

How I am building the project: enter image description here

I have searched everywhere and all I can find are random threads on stack overflow and unity forums. Yet these are talking about if it crashes when connected to a pc and none of those have helped. There is no one that I have found that is in this exact problem. After this searching I also tried to use the Side Quest to upload the .apk to my headset but I got another error: self signed certificate in certificate chain. Any tips or solutions would be greatly appreciated.

Thanks

Stan :)

0 Answers
Related