May 30 2023 05:01 AM
Unity Building Library failed, IL2CPPLinkage error, with MRTK3 and QR Code Tracking on Android
I tried to track a QR code with MRTK 3 and Andriod. have used this attachment
The following error occurs when building on Android:
Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
Library/Bee/artifacts/Android/d8kzr/soo2_.QR.DotNet.o: In function `IL2CPPLinkage_WindowsGetStringRawBuffer_m43E89486907592139AB0D52752B2D8D483E4FEE6':
H:/projects/**/Library/Bee/artifacts/Android/il2cppOutput/cpp/Microsoft.MixedReality.QR.DotNet.cpp:1395: undefined reference to `WindowsGetStringRawBuffer'
H:/projects/**/Library/Bee/artifacts/Android/il2cppOutput/cpp/Microsoft.MixedReality.QR.DotNet.cpp:1395: undefined reference to `WindowsGetStringRawBuffer'
Library/Bee/artifacts/Android/d8kzr/soo2_.QR.DotNet.o: In function `IL2CPPLinkage_WindowsDeleteString_m8175860EEA9E79F2F530A1EC165CE65FDD475933':
H:/projects/**/Library/Bee/artifacts/Android/il2cppOutput/cpp/Microsoft.MixedReality.QR.DotNet.cpp:1405: undefined reference to `WindowsDeleteString'
H:/projects/**/Library/Bee/artifacts/Android/il2cppOutput/cpp/Microsoft.MixedReality.QR.DotNet.cpp:1405: undefined reference to `WindowsDeleteString'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEditor.GenericMenu:CatchMenu (object,string[],int)
I have tried the following to fix the error:
Sep 11 2023 06:08 AM
@spirit126 Were you able to solve this issue? I am facing the same error while building for Android using MRTK.
May 24 2024 02:30 AM - edited May 27 2024 03:08 AM
Ok so based on what I found out, QR-Code tracking on Meta Quest 3 is currently impossible, because access to the camera feed is prohibited by Meta.
source:
- meta.com