Oculus quest 2 build crashes after splash screen.

Hello everyone. I made a game for oculus quest 2. I can play the game via link but when i build the game, it crashes after unity splash screen. It doesn’t give any error messages either. Any one knows what causes this problem?

Use adb via command-line or Oculus Developer Hub to see what errors are happening.

This is how I use adb in a cmd window:
“C:\Program Files\Unity\Hub\Editor\2020.3.22f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\adb” logcat | findstr -i unity

As said above check the error. You can also link unity and get logs inside of Unity if you check autoconnect profiler in build settings.

Things to check:

  • Under XR management, is initialize XR on startup AND Oculus checked in the Android tab?
  • IF you use Oculus Integration asset, update it to the latest version.
  • Maybe update Oculus XR Plugin and XR management?

How do I check the error? I am having the same problem. Could you maybe explain in terms of a new devedloper? I don’t really understand what’s said above.

Use logcat. There is a unity package. On most things I’ve said you can find documentation I think.
If you have specific questions I can clarify

Yes, sorry I do have a question. Could you give me a step-by-step process to see what error is causing this issue of my game crashing on standalone right after splash image is shown? Thanks!

No one can know except you. I pointed you in the direction you can debug it yourself and gave some troubleshooting steps in my first reply

do you think this could be happening to me because I have 12 Trees with lots of ProBuilder faces?

Most likely not. That’s why we are asking you to use adb command which i listed above or find a logcat tool - there is even one inside Unity and also the MQDH tool somewhere… or google it if you need more help “oculus quest logging” there are many ways to see these messages. Be warned: there will be a LOT of messages here so search for FATAL, ERROR and EXCEPTION and post them if they don’t make sense. Don’t post your entire log though, it will be huge and nobody wants to read it all :wink:

1 Like

I have the same issue, using logcat i got this


Or heres the copypaste of the image:

2024/05/18 17:35:26.932 30613 30641 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024/05/18 17:35:26.932 30613 30641 Error CRASH Version ‘2022.3.7f1 (b16b3b16c7a0)’, Build type ‘Development’, Scripting Backend ‘mono’, CPU ‘armeabi-v7a’
2024/05/18 17:35:26.932 30613 30641 Error CRASH Build fingerprint: ‘oculus/hollywood/hollywood:12/SQ3A.220605.009.A1/50864850064000150:user/release-keys’
2024/05/18 17:35:26.932 30613 30641 Error CRASH Revision: ‘0’
2024/05/18 17:35:26.932 30613 30641 Error CRASH ABI: ‘arm’
2024/05/18 17:35:26.932 30613 30641 Error CRASH Timestamp: 2024-05-18 17:35:26.932736445-0700
2024/05/18 17:35:26.932 30613 30641 Error CRASH pid: 30613, tid: 30641, name: UnityMain >>> com.NNERDS.Beatblaster <<<
2024/05/18 17:35:26.932 30613 30641 Error CRASH uid: 10095
2024/05/18 17:35:26.932 30613 30641 Error CRASH signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr --------
2024/05/18 17:35:26.932 30613 30641 Error CRASH r0 cd32e44b r1 00000000 r2 eacaf4a8 r3 bfc7e210
2024/05/18 17:35:26.932 30613 30641 Error CRASH r4 464c5420 r5 cd32e44b r6 cd96fb58 r7 cd32e24c
2024/05/18 17:35:26.932 30613 30641 Error CRASH r8 c1d901f8 r9 cd970b00 r10 bd7646e4 r11 464c5420
2024/05/18 17:35:26.932 30613 30641 Error CRASH ip c2bb4590 sp cd96fae0 lr 00000000 pc adcf2740
2024/05/18 17:35:26.933 30613 30641 Error CRASH backtrace:
2024/05/18 17:35:26.933 30613 30641 Error CRASH #00 pc 0001f740 anonymous:adcd3000
2024/05/18 17:35:26.933 30613 30641 Error CRASH managed backtrace:
2024/05/18 17:35:26.933 30613 30641 Error CRASH #00 UnityEngine.InputSystem.LowLevel.InputStateBlock:ReadFloat (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\State\InputStateBlock.cs:418>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #01 UnityEngine.InputSystem.Controls.AxisControl:ReadUnprocessedValueFromState (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\AxisControl.cs:250>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #02 UnityEngine.InputSystem.InputControl1<single>:get_unprocessedValue () <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:1232> 2024/05/18 17:35:26.933 30613 30641 Error CRASH #03 UnityEngine.InputSystem.InputControl1:ReadUnprocessedValueFromStateWithCaching (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:1338>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #04 UnityEngine.InputSystem.Controls.Vector3Control:ReadUnprocessedValueFromState (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\Vector3Control.cs:40>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #05 UnityEngine.InputSystem.InputControl1<UnityEngine.Vector3>:get_unprocessedValue () <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:1232> 2024/05/18 17:35:26.933 30613 30641 Error CRASH #06 UnityEngine.InputSystem.InputControl1<UnityEngine.Vector3>:get_value () <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:1181>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #07 UnityEngine.InputSystem.InputControl`1<UnityEngine.Vector3>:ReadValueFromStateWithCaching (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:1324>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #08 UnityEngine.InputSystem.Controls.Vector3Control:EvaluateMagnitude (void*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\Vector3Control.cs:65>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #09 UnityEngine.InputSystem.InputControl:EvaluateMagnitude () <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:499>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #10 UnityEngine.InputSystem.InputControl:get_magnitude () <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Controls\InputControl.cs:452>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #11 UnityEngine.InputSystem.InputActionState:ProcessControlStateChange (int,int,int,double,UnityEngine.InputSystem.LowLevel.InputEventPtr) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Actions\InputActionState.cs:1448>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #12 UnityEngine.InputSystem.InputActionState:UnityEngine.InputSystem.LowLevel.IInputStateChangeMonitor.NotifyControlStateChanged (UnityEngine.InputSystem.InputControl,double,UnityEngine.InputSystem.LowLevel.InputEventPtr,long) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\Actions\InputActionState.cs:1326>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #13 UnityEngine.InputSystem.InputManager:FireStateChangeNotifications (int,double,UnityEngine.InputSystem.LowLevel.InputEvent*) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\InputManagerStateMonitors.cs:380>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #14 UnityEngine.InputSystem.InputManager:UpdateState (UnityEngine.InputSystem.InputDevice,UnityEngine.InputSystem.LowLevel.InputUpdateType,void*,uint,uint,double,UnityEngine.InputSystem.LowLevel.InputEventPtr) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\InputManager.cs:3558>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #15 UnityEngine.InputSystem.LowLevel.InputState:Change<UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRSimulatedControllerState> (UnityEngine.InputSystem.InputControl,UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRSimulatedControllerState&,UnityEngine.InputSystem.LowLevel.InputUpdateType,UnityEngine.InputSystem.LowLevel.InputEventPtr) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\State\InputState.cs:125>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #16 UnityEngine.InputSystem.LowLevel.InputState:Change<UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRSimulatedControllerState> (UnityEngine.InputSystem.InputControl,UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRSimulatedControllerState,UnityEngine.InputSystem.LowLevel.InputUpdateType,UnityEngine.InputSystem.LowLevel.InputEventPtr) <.\Library\PackageCache\com.unity.inputsystem@1.6.3\InputSystem\State\InputState.cs:97>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #17 UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRDeviceSimulator:Update () <.\Library\PackageCache\com.unity.xr.interaction.toolkit@2.4.3\Runtime\Inputs\Simulation\XRDeviceSimulator.cs:1950>
2024/05/18 17:35:26.933 30613 30641 Error CRASH #18 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)