Help DLL conflict on Focus 3 builds with libc++_shared.so - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help DLL conflict on Focus 3 builds with libc++_shared.so (/thread-3529.html) Pages:
1
2
|
DLL conflict on Focus 3 builds with libc++_shared.so - Dan_Luminous - 19-07-2022 Hi. We are working with Obi rope in XR contexts so have to support multiple VR devices. Obi Rope has been great for the Oculus and we'd love to keep using it with HTC Focus 3. The problem is that the libc++_shared.so DLL collides with one that's used by the HTC android platform, breaking the build. Do you know a workaround or deconflicting method that would allow us to keep using it without having to roll our own inferior rope system? Any input at all is much appreciated. - Dan RE: DLL conflict on Focus 3 builds with libc++_shared.so - josemendez - 19-07-2022 (19-07-2022, 09:26 AM)Dan_Luminous Wrote: Hi. Hi Dan, If you're using the Burst backend (you really should since it's faster, plus the Oni backend got deprecated in 6.2), you can just get rid of the native plugins/libs. See: http://obi.virtualmethodstudio.com/manual/6.3/backends.html kind regards, RE: DLL conflict on Focus 3 builds with libc++_shared.so - Dan_Luminous - 19-07-2022 (19-07-2022, 09:31 AM)josemendez Wrote: Hi Dan,Thanks, Jose. Is it everything in the plugins directory that can go? RE: DLL conflict on Focus 3 builds with libc++_shared.so - josemendez - 19-07-2022 (19-07-2022, 10:51 AM)Dan_Luminous Wrote: Thanks, Jose. Is it everything in the plugins directory that can go? Yes, you can remove the entire /Plugins folder. Keep in mind though that if any solver has its backend set to Oni, or if the Burst dependencies are not installed (which will cause Obi to attempt to fallback to the Oni plugins) then the engine will no longer work. Let me know if you encounter any issues along the way, I'll be glad to assist. cheers, RE: DLL conflict on Focus 3 builds with libc++_shared.so - Dan_Luminous - 19-07-2022 (19-07-2022, 10:54 AM)josemendez Wrote: Yes, you can remove the entire /Plugins folder. Keep in mind though that if any solver has its backend set to Oni, or if the Burst dependencies are not installed (which will cause Obi to attempt to fallback to the Oni plugins) then the engine will no longer work.Switched over to burst and installed burst package and deleted the libs. Was okay error wise getting rid of all except the x86-64 oni libs. When I force deleted them from file explorer I get dll not found: libOni in something to do with collision solving. I assume this will happen in builds for other platforms than x84, I don't have the focus hardware on me right now to check though. (working from home and oculus more expensive than oculus). Presumably I'm missing a step or setting and it's falling back on the Oni dlls? RE: DLL conflict on Focus 3 builds with libc++_shared.so - josemendez - 19-07-2022 (19-07-2022, 01:58 PM)Dan_Luminous Wrote: Switched over to burst and installed burst package and deleted the libs. Was okay error wise getting rid of all except the x86-64 oni libs. When I force deleted them from file explorer I get dll not found: libOni in something to do with collision solving. Hi! Could you share the exact dllnotfound exception you got? Also make sure of the following: - Make sure the Burst backend is selected on all ObiSolver components. - Make sure there's no warnings in the ObiSolver inspector (when it's falling back on the dlls, a warning will appear). - Make sure there's no ObiProfiler components in your scene, as these are designed to profile the Oni backend and will make use of the dlls too. RE: DLL conflict on Focus 3 builds with libc++_shared.so - Dan_Luminous - 19-07-2022 One of these once: Code: DllNotFoundException: libOni And this one ticking constantly: Code: DllNotFoundException: libOni Have this warning on the components but the Burst package is installed in my project. Thanks for your time. RE: DLL conflict on Focus 3 builds with libc++_shared.so - josemendez - 19-07-2022 It's definitely falling back to the dlls. The warning in the solver component only appears when the required packages are not installed, this is checked using version defines on the assembly definitions. Make sure you've installed all required packages (not just the Burst package), and that their versions are above the minimum ones. See the manual: http://obi.virtualmethodstudio.com/manual/6.3/backends.html#burst Quote:Using the Burst backend requires having the following Unity packages installed: RE: DLL conflict on Focus 3 builds with libc++_shared.so - iiidefektiii - 18-10-2023 I am having the same issue although not the Vive SDK, but another plugin that has the same library embedded into it. I tried the method in this forum and while I am not getting any warning for Burst, it builds, but then crashes the app every time. Using Unity 2022.3.10. Any ideas why it would keep crashing once switched correctly to Burst so I don't have this conflicting library? RE: DLL conflict on Focus 3 builds with libc++_shared.so - josemendez - 19-10-2023 (18-10-2023, 04:02 PM)iiidefektiii Wrote: I am having the same issue although not the Vive SDK, but another plugin that has the same library embedded into it. I tried the method in this forum and while I am not getting any warning for Burst, it builds, but then crashes the app every time. Using Unity 2022.3.10. Hi, No idea, libc++_shared.so isn't used at all by Burst. Could you share your crash log, so that we may have some info about what's going on? kind regards, |