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.873Views0likes0CommentsUE5.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.2KViews0likes4Comments[Unity] Virtual Keyboard feature not working
Greetings. Issue: I and my team attempted to enable Oculus overlay/virtual keyboard but failed. Related links/attempted approaches: Fix attempts by chronology: Trigger VK via Input Field in the old project's game scene Trigger VK via code in the old project's game scene Trigger VK via Input Fields/Buttons in Oculus VirtualKeyboardSample scene in the old project Trigger VK via code in Oculus VirtualKeyboardSample scene in the old project Trigger VK via previous methods, after updating Oculus Integration/OVR Trigger VK via all previous methods in the same project, but migrated in the new repo Created blank Unity project, imported/configured VR-related packages, Oculus Integration/OVR, tried to trigger VK via Oculus VirtualKeyboardSample scene Most of the attempts resulted in this error log: [OVRPlugin] [CreateVirtualKeyboard] m_XR_META_virtual_keyboard extension is not available (arvr\prjects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:12543) Create failed: 'Failure_InvalidOperation'. Check for Virtual Keyboard Support. Unity version 2021.3.26f1 LTS Oculus XR Plugin version: 3.3.0 Oculus Integration versions: 54 and 55 OVRPlugin: 1.86.1 Important note: We tried to run the sample, on the same branch/commit, but on different devices/users. 2 out of 6 developers got the keyboard working as intended, others received the error log mentioned above. Seems very strange to me After all attempts, it looks like there's a problem with the OVRPlugin .dll, and not a problem from our side. Any help/suggestions/tips/solutions would be highly appreciated. Expected result: We can access Oculus Overlay/Virtual keyboard after interacting with text UI elements in VR to edit text.Solved5.3KViews1like3CommentsPerformance issue with OVRPlugin using OpenXR backend
Hello, our game is using Unity 2020.3.32f1 and Oculus Integration v39.0.0. We found in profiler that with OpenXR backend, OVRManager takes about 2ms CPU every frame on a Quest 1 device, while it only takes about 0.32ms if we switch back to the legacy OVRPlugin with LibOVR and VRAPI backends. (The profiler data were taken using a new project with only Oculus Integration 39.0 added, and with the sample scene MRC in Oculus/VR/Scenes) With deep profiling on, we found that it is from OVRP_1_16_0.ovrp_GetControllerState4(). We also found that if we remove the battery in 1 or both Oculus Touch controllers, the time drops (with 1 battery removed, it drops to around half and with both removed, it drops to near 0ms, but of course we can no longer play without controllers). As a result of this, we can hardly switch to the OpenXR backend due to the FPS requirement in Quest 1. Anyone knows if I am missing something or is it a problem with the plugin itself? Thank you.2KViews1like2CommentsHang 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.1KViews1like5CommentsOVRInput.NearTouch not working with OVRPlugin with OpenXR backend
Make a Unity 2020+ project. Add OpenXR Oculus provider. Add Oculus Integration (at the time of this writing v39, but doesn't really matter. Tried it with v37 also) Load/make a scene with a controller prefab (could be OVRControllerPrefab or CustomHand). OVRInput.Get(OVRInput.NearTouch.Any)) will always return false. Change to Legacy OVRPlugin and it will return true when touching with thumb or index finger. Anybody know why? It seems to me a bit sloppy to make a plugin that is needed for the platform specific things (passthrough, hands, etc) while advocating for the OpenXR backend but then have this feature broken. In many VR examples you often see a thumbs up gesture being made. That is pretty much impossible with OVRPlugin using OpenXR.2.2KViews0likes3CommentsFailed to load OVRPlugin.dll
Hi! I've tried with clean installs of Unity 2019.4.36f1 and 2020.3.30f1, both with the same issue. Failed to load OVRPlugin.dll UnityEngine.Debug:LogError (object) Unity.XR.Oculus.OculusLoader:EditorLoadOVRPlugin () (at Library/PackageCache/com.unity.xr.oculus@1.11.2/Runtime/OculusLoader.cs:237) UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () Same issue as: Oculus V37 OVRPlugin.dll not found issue Except that I started out with a clean install of Unity and directly with Oculus Integration V37. They say in that thread that the issue will be solved with V38, but I was wondering if anyone had found a solution that works now, until V38 is released? I am very eager to start with my new project, but can't until this is solved. Anyone managed to do something about this issue?Solved8.5KViews0likes2CommentsUnity Oculus Integration V37 Missing OVRPlugin.dll
Unity 2021.s.10f is complaining about missing OVRPlugin.dll. When using oculus driver in plugin management will cause crash when playing from editor. Builds work okay. Workaround us OpenXR, however this does not work well with OVR scripts like camera rig or char controller. XR Plugin v4.2.1 Oculus XR v1.11.21.4KViews0likes0CommentsOVRPlugin.SpatialEntityAnchorCreateInfo reference documentation
In the "Presence Platform: Build Mixed Reality with Insight SDK" presentation (https://www.youtube.com/watch?v=ST2ekJk9wJw) OVRPlugin.SpatialEntityAnchorCreateInfo. Why can't I find any documentation for that class anywhere? Am I looking the wrong places? I have searched oculus.com, docs.unity3d.com and google.com. Nothing comes up. Not even for OVRPlugin.Solved2.5KViews1like3CommentsXR Rig camera with OVRManager
I'm a bit confused about the compatibility of the XR Plugin and Oculus Integration download from the Asset Store. I need to use the OVROverlay script found in the Oculus Integration Package. This requires the OVRManager to be running - which is normally attached and initialized with the OVRCameraRig. Is it possible to use the OVROverlay without using the OVRCameraRig, using instead the XR Plugin's camera rig?2.3KViews1like2Comments