Existing dll not found in Editor when using OculusXR plugin
When I use VR with Oculus as plugin provider and add the Azure Speech SDK, whenever I press Play in Editor and want to start the speech recognition, I get the error: DllNotFoundException: Microsoft.CognitiveServices.Speech.core.dll assembly:<unknown assembly> type:<unknown type> member:(null) This does not happen in the build, neither for Windows builds nor Quest standalone builds. The native dll in question, Microsoft.CognitiveServices.Speech.core (Azure Speech), is in the Plugins folder and correctly configured to also work in the Editor. I traced it down somewhat: In the OculusXR package that gets installed when choosing the Oculus plugin, in OculusLoader.cs the Initialize() function is executed at start, and for some reason in this function the line NativeMethods.SetUserDefinedSettings(userDefinedSettings); causes the subsequent access to the Speech Core dll to fail. When I comment this line out, the dll is found. Does anybody have an idea how a call to SetUserDefinedSettings can make subsequent access to a native dll to fail? I have uploaded a simple test project that shows that problem: [link]. The test project has the Azure Speech SDK and the Azure speech test scene. To try it out, import the project, open the scene SpeechSDKSample/Scenes/SpeechRecognition, in the object SpeechManager in the SpeechRecognition component enter real or fake credentials for API key and region (the error occurs whether the credentials are real or not), press play in the editor, and click "Continues Recognition" in the game window. This is where the Azure speech SDK is trying to initialize and access the dll and where I get the error in the console (and failure to start the Speech recognition).776Views0likes0CommentsGetGuardianPoints not working for Boundary_Outer
The issue with MetaXR plugin for Unreal Engine 5.2 I have the same problems with plugin's version 55.0 and 56.0. The function GetGuardianPoints() returning always empty array for BoundaryType == Boundary_Outer. I've debuged plugin and it turned out that OculusXRFunctionLibrary.cpp:622 if (OVRP_SUCCESS(FOculusXRHMDModule::GetPluginWrapper().GetBoundaryGeometry3(obt, nullptr, &NumPoints))) always returns false. Is there any way how I can get these guardian points? Best regards Andrei1.3KViews1like2CommentsAPK does not run on business Quest (OFB) when Oculus XR version > 1.10.0
Hi, When I make a Quest build using Unity 2020.3.23, using Oculus XR Plugin 1.10, it runs fine on both my 'consumer' and 'business' (OFB) Quest2. However, when I update OculusXR Plugin to 1.11 or higher, the APK no longer works on the OFB device, hanging on the '3 dots'. The same APK still runs fine on the consumer Quest2. ADB Logcat is not showing anything suspicious: consumer and business versions give the same logs. I have tried using the latest LTS version of Unity (2021.3.16f1) with the associated OculusXR Plugin (3.22), and made a test build using the sample scene. This gave me the exact same problem. Note that I am not using the Oculus Integration package from the asset store, only the Oculus XR package. I have seen the posts on https://forums.oculusvr.com/t5/Unity-VR-Development/APK-runs-on-consumer-Quest-2-but-not-OFB-headset/td-p/886190 but I would rather not have to include the Integration package in my project, since it would bloat my project. Have other people experienced the same? Is there a solution? Can anyone successfully run a build on the OFB Quest without the Oculus Integration package? I'd love to hear from you. Martijn704Views1like0Comments