Forum Discussion

puzzzabug's avatar
puzzzabug
Start Member
3 months ago
Solved

unreal 5.6.1 + metaXR (oculusXR) plugin compilation errors

UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: LowLevelTasks::FTask::ActiveTask
UATHelper: Packaging (Android (ASTC)): >>> referenced by Task.h:371 (Runtime/Core/Public/Async/Fundamental/Task.h:371)
UATHelper: Packaging (Android (ASTC)): >>>               C:/Users/User/Desktop/UnrealGameProject/Plugins/MetaXR/Intermediate/Build/Android/a/UnrealGame/Shipping/MRUtilityKit/MRUtilityKitDestructibleMesh.cpp.o:(UMRUKDestructibleMeshComponent::SegmentMesh(TArray<UE::Math::TVector<double>, TSizedDefaultAllocator<32>> const&, TArray<unsigned int, TSizedDefaultAllocator<32>> const&, float, float, float))
UATHelper: Packaging (Android (ASTC)): >>> referenced by Task.h:371 (Runtime/Core/Public/Async/Fundamental/Task.h:371)
UATHelper: Packaging (Android (ASTC)): >>>               C:/Users/User/Desktop/UnrealGameProject/Plugins/MetaXR/Intermediate/Build/Android/a/UnrealGame/Shipping/MRUtilityKit/MRUtilityKitDestructibleMesh.cpp.o:(UMRUKDestructibleMeshComponent::SegmentMesh(TArray<UE::Math::TVector<double>, TSizedDefaultAllocator<32>> const&, TArray<unsigned int, TSizedDefaultAllocator<32>> const&, float, float, float))
UATHelper: Packaging (Android (ASTC)): >>> referenced by Task.h:371 (Runtime/Core/Public/Async/Fundamental/Task.h:371)
UATHelper: Packaging (Android (ASTC)): >>>               C:/Users/User/Desktop/UnrealGameProject/Plugins/MetaXR/Intermediate/Build/Android/a/UnrealGame/Shipping/MRUtilityKit/MRUtilityKitDestructibleMesh.cpp.o:(UMRUKDestructibleMeshComponent::SegmentMesh(TArray<UE::Math::TVector<double>, TSizedDefaultAllocator<32>> const&, TArray<unsigned int, TSizedDefaultAllocator<32>> const&, float, float, float))
UATHelper: Packaging (Android (ASTC)): >>> referenced 25 more times
UATHelper: Packaging (Android (ASTC)): clang++: error: linker command failed with exit code 1 (use -v to see invocation)

I'm trying to update a project from 5.4 to 5.6 and getting this error with the v81 sdk
https://developers.meta.com/horizon/downloads/package/unreal-engine-5-integration

I'm able to compile in VS but not in the engine.

  • Edit: Putting MetaXR plugin into the engine directory, not the project one fixed the problem.

4 Replies

  • Hey, did you manage to fix the issue? im having the exact same problem when converting my vr project from 5.5 to 5.6

  • I've been told that it may work if I run the compile from source, which I have not done yet. I'll update here when I do; have you tried to compile the engine from source?

  • Edit: Putting MetaXR plugin into the engine directory, not the project one fixed the problem.

    • puzzzabug's avatar
      puzzzabug
      Start Member

      I moved the metaxr plugin into the engine directory, and it also solved worked.

      Then I had issues installing to headset using SDK 35

      Performing Streamed Install
      adb.exe: failed to install vrtest56-arm64.apk: Failure [INSTALL_FAILED_OLDER_SDK: Requires newer sdk version #35 (current version is #34)]



      I was able to deploy with

      android settings:
      min sdk 31
      sdk 34

      android sdk settings:
      java 23(or 17)
      sdk 34
      ndk 31



→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions