Latest ARKit example tries to verify older CloudXR version (3.1.1)

Hi,
seems that the latest CloudXR version 3.1.1 distribution has an ARKit example that tries to check the version to be 3.0.1. The app crashes on startup, but could gather the logs if ran in debug mode and it’s more evident:

Error: Unsupported CloudXR version dword (0x30101 provided, 0x30001 expected)
2022-03-25 08:51:39.498749+0200 CloudXRClientObjC[331:5040] Receiver create failed with code 13 [Unsupported CloudXR version [cxrError_Unsupported_Version]]

The app works if the checked version is updated in

//CloudXRCommon.h:29-33
#define CLOUDXR_VERSION_MAJOR 3
#define CLOUDXR_VERSION_MINOR 0 // <- Change this
#define CLOUDXR_VERSION_PATCH 1
#define CLOUDXR_VERSION TOSTR(CLOUDXR_VERSION_MAJOR, CLOUDXR_VERSION_MINOR, CLOUDXR_VERSION_PATCH)
#define CLOUDXR_VERSION_DWORD ((uint32_t) ((CLOUDXR_VERSION_MAJOR << 16) | (CLOUDXR_VERSION_MINOR << 8) | (CLOUDXR_VERSION_PATCH)))

This is an issue we discovered in the 3.1.1 release. The workaround of changing CLOUDXR_VERSION_MINOR to 0 can be used temporarily, and this will be fixed in the next release. Please let me know if you still run into more issues after applying the workaround.

1 Like

Hi @jar_no1, this has been fixed in CloudXR 3.2 released today. Thanks for reporting the issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.