ovr_GetLoggedInUserID In MetaXR Platform for Unreal Engine always return 0
At the moment, at the beginning of the scene, the initialization of the platform and IAD connection is taking place, it is being performed successfully. From DefaultEngine.ini, I select Oculus Email and OculusPassword for the user, in this case the ovr_GetLoggedInUserID query returns 0, just like there is a line in the log stating that "Warning LogOnlineIdentity Oculus: Failed Oculus login. Not currently logged into Oculus. Make sure Oculus is running and you are entitled to the app." Inside the application, the dashboard has all the necessary, up-to-date permissions to request data, however, as I wrote above, the login does not pass under any circumstances, at the moment I am at a dead end, if someone knows how to solve this problem, please write here.892Views0likes0CommentsUE5.1 OVRPlugin Make crash when open command console and stereo layer
my device is quest pro. when I try to change the level, I can see these errors like below. even it's not happens always, but very highly percent. does anyone know that how to fix it? [2023.05.10-06.08.42:327][340]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrEndFrame(m_xrSession, &frameEndInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6515 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.08.42:327][340]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1339 failed (-1006) [2023.05.10-06.08.42:356][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_CALL_ORDER_INVALID]: xrWaitSwapchainImage(swapchain, &waitInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:9087 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.08.42:356][341]LogOVRPlugin: Error: xrWaitSwapchainImage() failed: XR_ERROR_CALL_ORDER_INVALID (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:9090) [2023.05.10-06.08.42:362][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrEndFrame(m_xrSession, &frameEndInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6515 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.08.42:362][341]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1340 failed (-1006) [2023.05.10-06.08.42:390][341]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrBeginFrame(m_xrSession, nullptr), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6308 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.08.42:390][341]LogOVRPlugin: CompositorOpenXR::BeginFrame() failed: -2 [2023.05.10-06.08.42:390][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().BeginFrame4 1341 failed (-1006) [2023.05.10-06.08.42:397][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().EndFrame4 1341 failed (-1000) [2023.05.10-06.08.45:134][342]SocketIO: SocketIO 9Tedq5gw-foocHS1ABqb disconnected from namespace: / [2023.05.10-06.09.12:463][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6225 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:464][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1342 failed (-1006) [2023.05.10-06.09.12:464][342]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1342 outside of frame bounds [2023.05.10-06.09.12:464][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:464][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:467][342]LogOVRPlugin: CompositorOpenXR::BeginFrame() failed - !m_waitFrameCalled [2023.05.10-06.09.12:467][342]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().BeginFrame4 1342 failed (-1000) [2023.05.10-06.09.12:467][342]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1342 outside of frame bounds [2023.05.10-06.09.12:467][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:468][342]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:468][343]LogOVRPlugin: HandleOpenXREvents(): XrEventDataInteractionProfileChanged [2023.05.10-06.09.12:468][343]LogOVRPlugin: Display: [XR_SESSION] XrEventDataSessionStateChanged: state XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_LOSS_PENDING session=72131501835157505 time=1106325602085300 [2023.05.10-06.09.12:468][343]LogOVRPlugin: [XR_SESSION] ... running 1 visible 1 focused 1 [2023.05.10-06.09.12:468][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_SESSION_LOST]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:6225 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:468][343]LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1343 failed (-1000) [2023.05.10-06.09.12:468][343]LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1343 outside of frame bounds [2023.05.10-06.09.12:468][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:469][343]LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_TIME_INVALID]: xrLocateSpace( m_xrHandSpace[handIndex], m_xrAppSpace, outState.m_xrFrameState.predictedDisplayTime, &spaceLocation), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:4622 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:288) [2023.05.10-06.09.12:469][343]LogWindows: FPlatformMisc::RequestExit(0)Solved6.3KViews0likes4CommentsHang on headset launch - Problems getting started, is Mac *really* supported?
I'm trying to get started developing for the Quest 2 on my Mac. I'm new to Android, UE4 and the Oculus Quest 2. I've followed the instructions to build the Oculus fork of UE4 from source, installed Android Studio and set things up. I did have to modify the UE4 source to get it to compile. See PR #108 to github.com/Oculus-VR/UnrealEngine/pull/108 (I'm not allowed to post proper links yet). I also had an issue with a type -P command in SetupAndroid.command failing because the default Mac shell zsh doesn't appear to support the -P option to type. The two things make me wonder if developing on a Mac is actively being supported? I have been able to build the sample template project in UE4. However, on launch, everything hangs, and the last message in the output log is: LogPlayLevel: Running: /Users/erland/Library/Android/sdk/platform-tools/adb -s <serial> shell am start -n com.YourCompany.QuestOS/com.epicgames.ue4.GameActivity LogPlayLevel: Starting: Intent { cmp=com.YourCompany.QuestOS/com.epicgames.ue4.GameActivity } In the headset I first see the three dots, and then just a "black" world. At some point during troubleshooting, I got some messages indicating the .obb file was not found, and download of it was starting which might have I'm running Android Studio 3.6.3, UE 4.25 from source, MacOS 10.15.7, XCode 12.4, Oculus VR Plugin version 1.55.0. Manually starting the code using adb shell, then "am start -n com.YourCompany.QuestOS/com.epicgames.ue4.GameActivity" and then "logcat", I get the following 02-15 10:49:56.447 9320 9354 D UE4 : [2021.02.15-09.49.56:447][ 0]LogStreaming: Error: Couldn't find file for package /OculusVR/Materials/PokeAHoleMaterial requested by async loading code. NameToLoad: /OculusVR/Materials/PokeAHoleMaterial 02-15 10:49:56.447 9320 9354 D UE4 : [2021.02.15-09.49.56:447][ 0]LogStreaming: Error: Found 0 dependent packages... 02-15 10:49:56.448 9320 9354 D UE4 : CDO Constructor (OculusResourceHolder): Failed to find /OculusVR/Materials/PokeAHoleMaterial 02-15 10:49:56.448 9320 9354 D UE4 : [2021.02.15-09.49.56:448][ 0]Error: CDO Constructor (OculusResourceHolder): Failed to find /OculusVR/Materials/PokeAHoleMaterial 02-15 10:49:56.448 9320 9354 D UE4 : 02-15 10:49:56.448 9320 9354 D UE4 : [2021.02.15-09.49.56:448][ 0]LogHMD: Error: Unable to load PokeAHoleMaterial 02-15 10:49:56.449 9320 9354 D UE4 : [2021.02.15-09.49.56:449][ 0]LogStreaming: Error: Couldn't find file for package /OculusVR/Materials/OculusMR_ChromaKey requested by async loading code. NameToLoad: /OculusVR/Materials/OculusMR_ChromaKey 02-15 10:49:56.449 9320 9354 D UE4 : [2021.02.15-09.49.56:449][ 0]LogStreaming: Error: Found 0 dependent packages... 02-15 10:49:56.450 9320 9354 D UE4 : [2021.02.15-09.49.56:450][ 0]LogUObjectGlobals: Warning: Failed to find object 'Material None./OculusVR/Materials/OculusMR_ChromaKey' 02-15 10:49:56.450 9320 9354 D UE4 : [2021.02.15-09.49.56:450][ 0]LogMR: Warning: Invalid ChromaKeyMaterial 02-15 10:49:56.450 9320 9354 D UE4 : [2021.02.15-09.49.56:450][ 0]LogStreaming: Error: Couldn't find file for package /OculusVR/Materials/OculusMR_OpaqueColoredMaterial requested by async loading code. NameToLoad: /OculusVR/Materials/OculusMR_OpaqueColoredMaterial 02-15 10:49:56.450 9320 9354 D UE4 : [2021.02.15-09.49.56:450][ 0]LogStreaming: Error: Found 0 dependent packages... 02-15 10:49:56.451 9320 9354 D UE4 : [2021.02.15-09.49.56:451][ 0]LogUObjectGlobals: Warning: Failed to find object 'Material None./OculusVR/Materials/OculusMR_OpaqueColoredMaterial' 02-15 10:49:56.451 9320 9354 D UE4 : [2021.02.15-09.49.56:451][ 0]LogMR: Warning: Invalid OpaqueColoredMaterial 02-15 10:49:56.500 9320 9354 D UE4 : [2021.02.15-09.49.56:500][ 0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent. 02-15 10:49:56.501 9320 9354 D UE4 : [2021.02.15-09.49.56:500][ 0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent. 02-15 10:49:56.516 737 737 E WifiHAL : handleResponse: OTHER_RX_MULTICAST_CNT not found 02-15 10:49:56.521 737 737 E WifiHAL : wifi_get_ring_data: Error -5 happened. 02-15 10:49:56.521 1026 3833 E WifiVendorHal: getRingBufferData(l.1675) failed {.code = ERROR_INVALID_ARGS, .description = } 02-15 10:49:56.555 1026 3833 D wifi-jni: no kernel logs 02-15 10:49:56.595 9320 9354 D UE4 : [2021.02.15-09.49.56:595][ 0]LogAISub: UAISubsystem AISubsystem (0x9f344160), frame # 0 02-15 10:49:56.596 9320 9354 D UE4 : [2021.02.15-09.49.56:596][ 0]LogAISub: UAISubsystem AIPerceptionSystem (0xc5893b00), frame # 0 02-15 10:49:56.599 9320 9354 D UE4 : [2021.02.15-09.49.56:599][ 0]LogAISub: UAISubsystem EnvQueryManager (0x9ff25100), frame # 0 02-15 10:49:56.601 688 9526 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0) 02-15 10:49:56.609 688 9528 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0) 02-15 10:49:56.616 688 9530 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0) 02-15 10:49:56.616 9320 9354 D UE4 : [2021.02.15-09.49.56:616][ 0]LogUObjectBase: Warning: -------------- Default Property warnings and errors: 02-15 10:49:56.616 9320 9354 D UE4 : [2021.02.15-09.49.56:616][ 0]LogUObjectBase: Warning: Error: CDO Constructor (OculusResourceHolder): Failed to find /OculusVR/Materials/PokeAHoleMaterial 02-15 10:49:56.616 9320 9354 D UE4 : I think perhaps the PokeAHoleMaterial is related to the OculusVR Plugin in UE4. I have enabled the plugin, but the plugin is not showing up under "Plugins" in the project settings. I saw a post saying to add the /OculusVR/Materials to the "Additional Asset Directories to Cook". But there is no "/OculusVR/Materials" that can be selected, and I'm wondering if this is due to the plugin not working completely?5.2KViews1like5CommentsPlugin 'OculusVR' failed to load because module 'OculusEditor' could not be loaded.
I updated our Engine source to 4.23, and now we get this error when starting the Editor. If I open the project with Visual Studio and compile everything, then I don't get the error. But for users without Visual Studio, this is not a solution. Anyone know what causes this? It looks to me like the plugin is being rebuilt when we rebuild the engine and/or game. The module engine association is the same as the engine's. I don't get why this error is happening.3.9KViews0likes2CommentsOVRLipSync Playback Sequence only works once.
It may sound strange but I can make work the Canned Playback example only by generating a new Sequence. If I close the project and open it again it doesn't work any longer and must generate a new Sequence again to make it work. Could be something on my side or is it a bug that any other noticed?1.1KViews0likes2CommentsThe console command ovrversion returns nothing? Errors with running as dedicated server.
For some reason the command ovrversion returns nothing for me in 4.20 I've double checked, my oculus plugin is up-to-date, I've got the proper drivers installed, my app runs fine in VR Preview. When I run as a packaged game, VR preview with dedicated server, Standalone game, or PIE, the app breaks. OVRVERSION returns nothing.569Views0likes1Comment