LunarG / OpenXR-OverlayLayer

Implementation of the OpenXR Overlay extension as a layer
Other
65 stars 17 forks source link

Overlaysample.exe closes immediatly - no overlay visible #30

Open TomGitHub9 opened 1 year ago

TomGitHub9 commented 1 year ago

-> Build all files and made the register implicit referencing to a .json for the overlay -> Hello.xr is running without any errors (see screenshot) -> Explorer is indicating that the overlay is available (see screenshot)

-> OverlaySample is build (x64) and all files (.exe, .png etc) are set within the same working directory -> Openxr_loader.dll of the xr_extx_overlay and OverlaySample are identical (1.0.9) -> After OverlaySample is run, a black command interface window is opened, and closed immediately. -> No overlay is visible in OpenXR, only the hello.xr blocks

I added pauses statements in the OverlaySample in order to see where things go wrong. As can be seen in attached schreenshot, everything seems to go fine and the 'program.CreateInstance("Overlay Sample",0,"none",0); ' is executed. Thereafter some programcode is run, but window is closed and no overlay visible.

-> It should be notes that the "XR_DEFINE_ATOM(XrPermissionIdEXT) is showing a C++ potential error that Uint64 type should be declared, but compiles Okay

1) Is there a required folder structure for the OverlaySample to run smoothly? 2) What might be wrong?

screen_Hello_XR screen2_Explorer screen3_OverlaySample

TomGitHub9 commented 1 year ago

I detailed the issue, see above