Search Unity

Question Application doesnt start on some pc's : stuck after "GfxDevice: creating device client"

Discussion in 'VR' started by mgear, Dec 8, 2022.

  1. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,411
    *Solved: See messages below, had to update Oculus desktop to v47.

    Strange issue today, build wont run, unless Oculus desktop application or its services are running,
    but this happens only on 1 pc. On another pc, exe runs normally, no oculus desktop or background services are running.

    So i'm wondering, what is the exe waiting for (no info in the log),
    and how to allow application to run, without oculus running or even installed?
    this is for hybrid application.

    PC 1:
    Code (CSharp):
    1. Mono path[0] = ***
    2. Mono config path = ***
    3. Initialize engine version: 2021.3.12f1 (8af3c3e441b1)
    4. [Subsystems] Discovering subsystems at path ***
    5. [Subsystems] No descriptors matched for  examples in UnitySubsystems/OculusXRPlugin/UnitySubsystemsManifest.json.
    6. [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/OculusXRPlugin/UnitySubsystemsManifest.json
    7. [Subsystems] 1 'displays' descriptors matched in UnitySubsystems/OculusXRPlugin/UnitySubsystemsManifest.json
    8. [Subsystems] No descriptors matched for  meshings in UnitySubsystems/OculusXRPlugin/UnitySubsystemsManifest.json.
    9. [Subsystems] No descriptors matched for  examples in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    10. [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    11. [Subsystems] 1 'displays' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    12. [Subsystems] No descriptors matched for  meshings in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    13. GfxDevice: creating device client; threaded=1; jobified=1
    ^ stuck here


    PC 2:
    Code (CSharp):
    1. (all the same for beginning part)
    2. GfxDevice: creating device client; threaded=1; jobified=1
    3. Direct3D:
    4.     Version:  Direct3D 11.0 [level 11.1]
    5. ..and continues normally
    xr settings:
    upload_2022-12-8_14-30-59.png

    unity version: 2021.3.12f1
     
    Last edited: Dec 8, 2022
  2. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    400
    Check if the oculus services are the same version. We recently reported a bug to Meta where the app will hang on startup if the services aren't running. They said they fixed it in v47.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,411
    so i killed all OVR* services and background exe's,
    and it still seems to run on the other pc. (tried updating oculus desktop, but i guess it doesn't affect, when i'd prefer running app without it)

    if this service is running, then it runs on the trouble pc:
    upload_2022-12-8_19-55-10.png

    otherwise the exe just hangs in there, window doesn't open.
    upload_2022-12-8_19-55-42.png

    tried also disabling the checkbox for oculus plugin on that xr settings tab, still same in the build. (or just build empty scene).
     
  4. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    400
    did you check the oculus desktop version? they do a phased rollout, are they both on v47?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,411
    ah ok, it updated into 46 first, then had to update again
    and it does work now! (even when i kill all the oculus services) (47.0.0.264.341)

    thanks!
     
    thep3000 likes this.