Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Quest 2 game can't load scenes

Discussion in 'Scripting' started by egutentag, May 23, 2023.

  1. egutentag

    egutentag

    Joined:
    Nov 27, 2020
    Posts:
    14
    Just when my game is ready for beta tests I got a weird bug and I would greatly appreciate any help.

    To narrow the problem I created an empty scene, That all it does is load the next one, And when it does the game is stuck (also no logs from this point), This only happen on the quest and not PC.

    These are the logs I got before when the game is loading:

    Code (Boo):
    1. 0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of main
    2. 2023/05/23 06:45:21.027 5676 5676 Warn Gralloc4 allocator 4.x is not supported
    3. 2023/05/23 06:45:21.246 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    4. 2023/05/23 06:45:21.259 5676 5696 Warn com.xxxx.xxx Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V (unsupported, reflection, allowed)
    5. 2023/05/23 06:45:21.309 5676 5696 Error Unity Connect failed for direct socket. Ip=127.0.0.1, port=34998 msg="Socket: connect failed, error: Connection refused(111)"
    6. 2023/05/23 06:45:25.314 5676 5696 Error Unity Connect failed for direct socket. Ip=10.100.102.2, port=34999 msg="Socket: connect failed, error: Operation now in progress(115)"
    7. 2023/05/23 06:45:29.315 5676 5696 Error Unity Connect failed for direct socket. Ip=172.29.48.1, port=34999 msg="Socket: connect failed, error: Operation now in progress(115)"
    8. 2023/05/23 06:45:33.308 5676 5696 Warn Unity Connecting to host time out, player connection will switch to the listen mode.
    9. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    10. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    11. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    12. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    13. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    14. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    15. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    16. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    17. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    18. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    19. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    20. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    21. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    22. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    23. 2023/05/23 06:45:34.692 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    24. 2023/05/23 06:45:34.693 5676 5696 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
    25. 2023/05/23 06:45:34.780 5676 5696 Warn OpenXR Legacy OpenXR application detected!
    26. 2023/05/23 06:45:34.780 5676 5696 Warn OpenXR Attempting late-initialization of OpenXR client state!
    27. 2023/05/23 06:45:34.794 5676 5696 Warn VrRuntimeClient InitDeviceConfig called before service connection! GKs checked before service connection will return defaults!
    28. 2023/05/23 06:45:34.803 5676 5696 Warn GkCacheQuerierClient getGkValue: Query result for 'oculus_trex_fitnesstoolkit_enabled' not successful: 4
    29. 2023/05/23 06:45:34.803 5676 5696 Warn GkHelper GkHelper: query failed
    30. 2023/05/23 06:45:34.804 5676 5696 Warn com.xxxx.xxx Accessing hidden method Landroid/app/Activity;->isResumed()Z (unsupported, reflection, allowed)
    31. 2023/05/23 06:45:34.809 5676 5696 Warn libc Access denied finding property "ro.vendor.product.model_extended"
    32. 2023/05/23 06:45:34.792 5676 5676 Warn UnityMain type=1400 audit(0.0:51): avc: denied { read } for name="u:object_r:vendor_board_init_prop:s0" dev="tmpfs" ino=13467 scontext=u:r:untrusted_app_29:s0:c10,c257,c512,c768 tcontext=u:object_r:vendor_board_init_prop:s0 tclass=file permissive=0 app=com.GoodDay.TF9
    33. 2023/05/23 06:45:34.822 5676 5696 Warn VulkanLoader ovrVulkanLoader::LoadDeviceFunctions: device invalid
    34. 2023/05/23 06:45:34.822 5676 5696 Warn VulkanLoader ovrVulkanLoader::LoadExtensionList: physicalDevice invalid
    35. 2023/05/23 06:45:34.828 5676 5696 Warn OpenXR xrGetVulkanGraphicsDevice2KHR: Called twice.
    36. 2023/05/23 06:45:34.828 5676 5696 Warn VulkanLoader ovrVulkanLoader::LoadDeviceFunctions: device invalid
    37. 2023/05/23 06:45:34.828 5676 5696 Warn VulkanLoader ovrVulkanLoader::LoadExtensionList: physicalDevice invalid
    38. 2023/05/23 06:46:48.101 5676 5676 Warn Unity Timeout while trying to pause the Unity Engine.
    39. 2023/05/23 06:46:48.110 5676 6024 Warn OpenGLRenderer Surface doesn't have any previously queued frames, nothing to readback from
    40. 2023/05/23 06:46:52.110 5676 5676 Warn Unity Timeout while trying detaching primary window.
    41. 2023/05/23 06:46:52.110 5676 5676 Error Surface freeAllBuffers: 1 buffers were freed while being dequeued!
    42. 2023/05/23 06:46:52.111 5676 5676 Error BLASTBufferQueue [ViewRootImpl[UnityPlayerActivity]#0](f:0,a:1) Applying pending transactions on dtor 1
    43. 2023/05/23 06:46:53.468 5676 5676 Warn Choreographer Frame time is 0.190563 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
    44. 2023/05/23 06:48:04.432 5676 5676 Warn Unity Timeout while trying detaching primary window.
     
  2. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,091
    What Unity version are you on?
    Have you tried updating to the latest LTS or Tech stream?
    Are you loading from an empty scene to another empty scene, or scene with cubes?
    Quest 1 / Quest 2?
    Disable Graphics Jobs if you haven't already.

    Warn OpenXR Legacy OpenXR application detected!

    Have you tried updating OpenXR? (Or Oculus XR)

    It's kind of grasping at straws here. There's not a lot of information to go on.
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,971
    Next to the great questions from Mouse, if you use .net 4.x maybe switch to .net standard
     
  4. Ciera

    Ciera

    Joined:
    Oct 3, 2016
    Posts:
    2
    I have the same problem, @egutentag did you end up finding a solution?