Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Oculus quest 2 build crashes after splash screen.

Discussion in 'VR' started by Omerfaruk97, Apr 2, 2022.

  1. Omerfaruk97

    Omerfaruk97

    Joined:
    Oct 8, 2019
    Posts:
    2
    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?
     
  2. glenneroo

    glenneroo

    Joined:
    Oct 27, 2016
    Posts:
    233
    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
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,227
    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?
     
  4. Nj0820

    Nj0820

    Joined:
    Sep 30, 2023
    Posts:
    8
    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.
     
  5. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,227
    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
     
  6. Nj0820

    Nj0820

    Joined:
    Sep 30, 2023
    Posts:
    8
    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!
     
  7. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,227
    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
     
  8. Nj0820

    Nj0820

    Joined:
    Sep 30, 2023
    Posts:
    8
    do you think this could be happening to me because I have 12 Trees with lots of ProBuilder faces?
     
  9. glenneroo

    glenneroo

    Joined:
    Oct 27, 2016
    Posts:
    233
    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 ;)
     
    DevDunk likes this.
  10. memes4daysz9

    memes4daysz9

    Joined:
    Feb 1, 2023
    Posts:
    1
    I have the same issue, using logcat i got this
    upload_2024-5-18_17-38-39.png
    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.InputControl`1<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.InputControl`1<single>: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.InputControl`1<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.InputControl`1<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)
     

    Attached Files: