Search Issue Tracker

Fixed

Fixed in 1.0.3

Votes

0

Found in [Package]

0.5.0-exp.0

Issue ID

AVPB-145

Regression

No

[PolySpatial] Linker Error: Missing _GetPolySpatialNativeAPI when building Xcode project

Package: PolySpatial

-

How to reproduce:
1. Download and open the attached project
2. Build and deploy to a VisionOS device

Expected outcome: No errors appear
Actual outcome:
"Undefined symbols for architecture arm64:
"_GetPolySpatialNativeAPI", referenced from:
_RKRuntimeFuncs_GetPolySpatialNativeAPI_mE2254CB9DD6A5BABD4FEF5DF5AA6FEE065482184 in libGameAssembly.a(l1woyswky9t2.o)
_RKRuntimeFuncs_GetPolySpatialNativeAPI_static_mCA2433F613CA9024ED9FD398154B1E40228DECCB in libGameAssembly.a(l1woyswky9t2.o)
(maybe you meant: _RKRuntimeFuncs_GetPolySpatialNativeAPI_mE2254CB9DD6A5BABD4FEF5DF5AA6FEE065482184, _RKRuntimeFuncs_GetPolySpatialNativeAPI_static_mCA2433F613CA9024ED9FD398154B1E40228DECCB )
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)" errors appear

  1. Resolution Note (fix version 1.0.3):

    Unity generated Xcode projects targeting visionOS platform having PolySpatial dependencies no longer throw linker errors when building for any app mode (VR, MR, or windowed).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.