Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Start AnchorProvider or perform a Save or a Load, or an Erase operation to an Anchor.
Basically, any call of these native API methods:
XrFuncTable.h
...
// Anchor
DECL_XR_PROC_ENTRY(xrCreateAnchorSpaceANDROID);
DECL_XR_PROC_ENTRY(xrCreateDeviceAnchorPersistenceANDROID);
DECL_XR_PROC_ENTRY(xrDestroyDeviceAnchorPersistenceANDROID);
DECL_XR_PROC_ENTRY(xrPersistAnchorANDROID);
DECL_XR_PROC_ENTRY(xrCreatePersistedAnchorSpaceANDROID);
DECL_XR_PROC_ENTRY(xrEnumeratePersistedAnchorsANDROID);
DECL_XR_PROC_ENTRY(xrGetAnchorPersistStateANDROID);
DECL_XR_PROC_ENTRY(xrUnpersistAnchorANDROID);
2. Observe errors in logcat.
Actual results: Save, Erase, or Load operations spamming with errors like these:
[XR] [Android OpenXR][.\Source/XrOverrides.cpp:36] xrGetInstanceProcAddr(xrCreateDeviceAnchorPersistenceANDROID) failed with error code XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][Source/XrFuncTable.h:104] xrCreateDeviceAnchorPersistenceANDROID failed with result XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][.\Source/Providers/AnchorProvider.cpp:401] [AnchorProvider] xrCreateDeviceAnchorPersistenceANDROID failed with error: XR_ERROR_FUNCTION_UNSUPPORTED [XR] [Android OpenXR][.\Source/XrOverrides.cpp:36] xrGetInstanceProcAddr(xrCreateDeviceAnchorPersistenceANDROID) failed with error code XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][Source/XrFuncTable.h:104] xrCreateDeviceAnchorPersistenceANDROID failed with result XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][.\Source/Providers/AnchorProvider.cpp:401] [AnchorProvider] xrCreateDeviceAnchorPersistenceANDROID failed with error: XR_ERROR_FUNCTION_UNSUPPORTED [XR] [Android OpenXR][.\Source/XrOverrides.cpp:36] xrGetInstanceProcAddr(xrCreateDeviceAnchorPersistenceANDROID) failed with error code XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][Source/XrFuncTable.h:104] xrCreateDeviceAnchorPersistenceANDROID failed with result XR_ERROR_FUNCTION_UNSUPPORTED. [XR] [Android OpenXR][.\Source/Providers/AnchorProvider.cpp:401] [AnchorProvider] xrCreateDeviceAnchorPersistenceANDROID failed with error: XR_ERROR_FUNCTION_UNSUPPORTED [XR] [Android OpenXR][.\Source/XrOverrides.cpp:36] xrGetInstanceProcAddr(xrCreateDeviceAnchorPersistenceANDROID) failed with error code XR_ERROR_FUNCTION_UNSUPPORTED.
Expected results: Operation was able to perform.
Reproducible with versions: "com.unity.xr.androidxr-openxr": "1.2.0-pre.1"
Tested on (OS):
Android (Moohan) samsung/xrdk2/xrdk2:14/UML1.250821.001/13970532:userdebug/test-keys
Notes:
The reason is that it seems none of Anchor's native runtime methods have been registered.
Given the nature of these errors, it seems likely that systems other than Anchors may also have been affected.
The issue appears after this commit:
Sign in to see your voted issues