Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenXR plugin crashes Unity on play with no Oculus connected but OVR service running #376

Open
Samuel-Therrien-Beslogic opened this issue Jan 25, 2023 · 6 comments
Labels
runtime related a problem/question for a runtime, not OpenXR itself synced to gitlab Synchronized to OpenXR internal GitLab

Comments

@Samuel-Therrien-Beslogic
Copy link

Samuel-Therrien-Beslogic commented Jan 25, 2023

To replicate:

  1. Configure Unity Project Settings to use OpenXR:
  • "[...] > XR Plug-in Management > Initialize XR on Startup": Yes
  • "[...] > XR Plug-in Management >Plug-in Providers": OpenXR (Oculus is unchecked and grayed out)
  • "[...] > XR Plug-in Management > OpenXR > OpenXR Feature Groups > All Features > OculusXR Feature": Yes
  1. Open the Oculus companion app
  2. Ensure no VR headset is connected.
  3. Press "Play" in Unity (you don't even need a rig in your scene)
  4. crash

More information:

Note that this crash does not happen if the OVR service is not running.
If OculusXR Feature is off when pressing "play" in Unity, but subsequently turned on afterward through the popup that appears, it won't crash. (but of course will crash if you press "play" again is it is now turned on)

Versions:

OpenXR Plugin: 1.6.0 · December 01, 2022
Unity: 2022.2.3f1
Oculus App Version 47.0.0.286.341 (47.0.0.286.341)

Logs:

Editor.log
crash.dmp.txt (remove .txt extension)
Crash window:
image

Obtained 2 stack frames
RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
<Missing stacktrace information>
@rpavlik-bot
Copy link
Collaborator

An issue (number 1927) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1927 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

@rpavlik-bot rpavlik-bot added the synced to gitlab Synchronized to OpenXR internal GitLab label Feb 1, 2023
@thep3000
Copy link

This crash is related to the OculusXR feature which Meta ships and maintains. They say that they fixed the issue in v51 which will be released mid March 2023.

@elhigu
Copy link

elhigu commented Mar 20, 2023

Any reference which version the v51 will be un Unity or to the issue tracker of Meta for this bug? Current one seems to be Version 3.2.3 - March 03, 2023

@elhigu
Copy link

elhigu commented Mar 20, 2023

Any reference which version the v51 will be un Unity or to the issue tracker of Meta for this bug? Current one seems to be Version 3.2.3 - March 03, 2023

Looks like it is the source is this one (so I suppose it will be plugin version 3.2.4) :
https://forum.unity.com/threads/error-obtained-2-stack-frames-rtllookupfunctionentry.1382421/

@rpavlik rpavlik added the runtime related a problem/question for a runtime, not OpenXR itself label Mar 23, 2023
@PsyChonek
Copy link

Despite the update to version v53, the issue remains.

@ertan-retinize
Copy link

Despite the update to version v53, the issue remains.

V54 is out. Issue remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runtime related a problem/question for a runtime, not OpenXR itself synced to gitlab Synchronized to OpenXR internal GitLab
Projects
None yet
Development

No branches or pull requests

7 participants