Bug / Crash Obi Rope build error with Unity 2023.1 on APK Build for XR - 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: Bug / Crash Obi Rope build error with Unity 2023.1 on APK Build for XR (/thread-4038.html) |
Obi Rope build error with Unity 2023.1 on APK Build for XR - vrtraining - 25-10-2023 Hi, We are successfully using OBI Rope with Unity 2022.3 LTS or our OpenXR Unity Project for Meta Quest 2. We upgraded to Unity 2023.1 and we couldn't generate the APK due to gradle build error. We tried everything and slowly started isolating our plugins one by one till we were able to produce the error only with OBI Rope Asset. It works well with 2022 Unity but if OBI Robe is present in the project, it does not generate the APK build for Quest 2. We are using Unity builtin XR Plugin Management with OpenXR plugin. Code: FAILURE: Build failed with an exception. We are investigating more and will share if we can isolate the problem but I have created a sample project that contains only OBI Rope plugin and an empty scene. In order to reproduce just Open the project in 2023.1 Unity and switch build platform to Android and try to Build the APK. We tested this on mac and its not generating the build. If we remove OBI Rope asset then it builds successfully. https://drive.google.com/file/d/1er0W8T6sxjBT_rMt5cck5eX54ERreRUa/view?usp=sharing RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - josemendez - 25-10-2023 (25-10-2023, 09:49 AM)vrtraining Wrote: Hi, Hi, If you're using the Burst backend (which is the recommended approach, since the native-library based Oni has been deprecated for some time now), there's no need to use libc++_shared.so. You can simply remove the library / exclude it from the build. kind regards, RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - vrtraining - 25-10-2023 (25-10-2023, 10:00 AM)josemendez Wrote: Hi, Thanks, so far its working well RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - Corce - 11-04-2024 If I don't remove libc++_shared.so, will it cause any issues with the project besides the build error? GB WhatsApp RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - josemendez - 11-04-2024 (11-04-2024, 10:18 AM)Corce Wrote: If I don't remove libc++_shared.so, will it cause any issues with the project besides the build error? Hi, Impossible to tell without knowing what platform you're building for or what other libraries are included in the build. Not removing it should generally not cause any issues, in any case, removing it will if your build doesn't contain another copy of it, and you're using the Oni (fallback) backend which requires it. RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - philljones22 - 01-07-2024 Even though it's causing a build error now, are there any potential advantages to keeping libc++_shared.so in the project once the build issue is resolved? picsart photo editor RE: Obi Rope build error with Unity 2023.1 on APK Build for XR - josemendez - 08-07-2024 (01-07-2024, 03:00 PM)philljones22 Wrote: Even though it's causing a build error now, are there any potential advantages to keeping libc++_shared.so in the project once the build issue is resolved? If you're using Burst (which you should definitely do) then no, libc++_shared.so is completely unused and can be removed. kind regards, |