Build errors possibly relating to OpenXR

Hello,

I've followed the Getting Started With Unreal Engine guide and VS2022 threw the following errors (see log below) after a failed build. It looks like most or all errors have to do with OpenXR in some way. Looking at the guide I don't see any steps I need to take regarding OpenXR so I am not sure what I am missing here or what I need to change before trying another build.

The only things I did differently from the guide are:

  • I used the Windows 11 SDK (10.0.22621.0) component for VS2022 while the guide suggests the Windows 10 SDK. I found another dev who was able to successfully build the ML2 fork of UE 5.3 using the Windows 11 SDK, however.

  • I added a Windows environment variable named "ANDROID_HOME" with the value being the path to the Android SDK ("C:\Users\MyUserName\AppData\Local\Android\Sdk") after AndroidSetup.bat threw an error about that missing environment variable and path. This wasn't documented in the guide, but did fix that error.

I don't see anything in the error log that indicate my two deviations from the guide may have caused the failed build. If anyone can help shed some light as to what might I might be doing wrong, or can at least point me in the general direction of what I need to look in to I would be very grateful. Thank you!

Magic Leap SDK version: 1.2.0
Unreal Engine version: 5.3
ML2 OS version: N/A

Here are the error messages from the failed build log in VS2022:

Code Description Project File Line
C2065 'XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 69
C2065 'XR_EXT_HAND_INTERACTION_EXTENSION_NAME': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapHandInteraction\Source\MagicLeapHandInteraction\Private\MagicLeapHandInteraction.cpp 60
C3646 'PlaneDetector': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\MagicLeapPlanesComponent.h 60
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\MagicLeapPlanesComponent.h 60
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\MagicLeapPlanesComponent.h 60
C3646 'CreatePlanesDetector': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\IMagicLeapPlanesModule.h 31
C2062 type 'bool' unexpected UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\IMagicLeapPlanesModule.h 31
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\IMagicLeapPlanesModule.h 31
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\IMagicLeapPlanesModule.h 32
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Public\IMagicLeapPlanesModule.h 33
C3646 'CapabilityFlags': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 11
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 11
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 11
C3646 'xrCreatePlaneDetector': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 13
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 13
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 13
C3646 'xrDestroyPlaneDetector': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 14
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 14
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 14
C3646 'xrBeginPlaneDetection': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 15
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 15
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 15
C3646 'xrGetPlaneDetectionState': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 16
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 16
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 16
C3646 'xrGetPlaneDetections': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 17
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 17
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 17
C3646 'xrGetPlanePolygonBuffer': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 18
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 18
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 18
C2065 'XrPlaneDetectorEXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2065 'XrPlaneDetectorCreateInfoEXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2923 'TMap': 'XrPlaneDetectorEXT' is not a valid template type argument for parameter 'InKeyType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2923 'TMap': 'XrPlaneDetectorCreateInfoEXT' is not a valid template type argument for parameter 'InValueType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2976 'TMap': too few template arguments UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2955 'TMap': use of class template requires template argument list UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 20
C2065 'XrPlaneDetectorEXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 21
C2923 'TMap': 'XrPlaneDetectorEXT' is not a valid template type argument for parameter 'InKeyType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 21
C2976 'TMap': too few template arguments UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 21
C2955 'TMap': use of class template requires template argument list UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 21
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 23
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 24
C3646 'CreatePlanesDetector': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 49
C2059 syntax error: '(' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 49
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 49
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 50
C2061 syntax error: identifier 'XrPlaneDetectorEXT' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.h 51
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 9
C2146 syntax error: missing ';' before identifier 'ToXrOrientation' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 9
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 10
C2065 'XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 14
C2065 'XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_DOWNWARD_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 16
C2065 'XR_PLANE_DETECTOR_ORIENTATION_VERTICAL_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 18
C2065 'XR_PLANE_DETECTOR_ORIENTATION_ARBITRARY_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 20
C2065 'XR_PLANE_DETECTOR_ORIENTATION_MAX_ENUM_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 22
C2923 'TArray': 'MagicLeapPlanes::XrPlaneDetectorOrientationEXT' is not a valid template type argument for parameter 'InElementType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 25
C2976 'TArray': too few template arguments UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 25
C2955 'TArray': use of class template requires template argument list UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 25
C2079 'MagicLeapPlanes::ToXrOrientations' uses undefined class 'TArray' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 25
C2923 'TArray': 'MagicLeapPlanes::XrPlaneDetectorOrientationEXT' is not a valid template type argument for parameter 'InElementType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 27
C2976 'TArray': too few template arguments UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 27
C2641 cannot deduce template arguments for 'TArray' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 27
C2783 'TArray<T,AllocatorType> TArray(void)': could not deduce template argument for 'InElementType' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 27
C2780 'TArray<T,AllocatorType> TArray(TArray<T,AllocatorType>)': expects 1 arguments - 0 provided UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 27
C2065 'XR_PLANE_DETECTOR_ORIENTATION_MAX_ENUM_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 36
C2672 'MoveTemp': no matching overloaded function found UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 43
C2146 syntax error: missing ')' before identifier 'XrOrientation' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 46
C2143 syntax error: missing ';' before '{' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 47
C2447 '{': missing function header (old-style formal list?) UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 47
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 64
C2146 syntax error: missing ';' before identifier 'ToXrSemantic' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 64
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 65
C2065 'XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 71
C2065 'XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 73
C2065 'XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 75
C2065 'XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 77
C2146 syntax error: missing ')' before identifier 'XrSemantic' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 80
C2143 syntax error: missing ';' before '{' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 81
C2447 '{': missing function header (old-style formal list?) UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesSdkTypeConversions.h 81
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 26
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 73
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 75
C2039 'CreatePlanesDetector': is not a member of 'IMagicLeapPlanesModule' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 75
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 77
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 89
C2065 'PlaneDetector': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesComponent.cpp 98
C2065 'XR_EXT_PLANE_DETECTION_EXTENSION_NAME': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 24
C2065 'XR_EXT_PLANE_DETECTION_EXTENSION_NAME': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 40
C2065 'XrSystemPlaneDetectionPropertiesEXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 42
C2146 syntax error: missing ';' before identifier 'SystemPlaneDetectionProperties' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 42
C2065 'SystemPlaneDetectionProperties': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 42
C2065 'SystemPlaneDetectionProperties': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 43
C2065 'XR_TYPE_SYSTEM_PLANE_DETECTION_PROPERTIES_EXT': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 43
C2065 'SystemPlaneDetectionProperties': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 47
C1003 error count exceeds 100; stopping compilation UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapPlanes\Source\MagicLeapPlanes\Private\MagicLeapPlanesModule.cpp 47
C3646 'xrEnableUserCalibrationEventsML': unknown override specifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.h 15
C2059 syntax error: '=' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.h 15
C2238 unexpected token(s) preceding ';' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.h 15
C2065 'XrHeadsetFitStatusML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 8
C2146 syntax error: missing ')' before identifier 'HeadsetFit' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 8
C2143 syntax error: missing ';' before '{' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 9
C2447 '{': missing function header (old-style formal list?) UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 9
C2371 'MagicLeapUserCalibration::ConvertType': redefinition; different basic types UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 26
C2065 'XrEyeCalibrationStatusML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 26
C2146 syntax error: missing ')' before identifier 'EyeCalibration' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 26
C2143 syntax error: missing ';' before '{' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 27
C2447 '{': missing function header (old-style formal list?) UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationSdkTypeConversions.h 27
C2065 'XR_ML_USER_CALIBRATION_EXTENSION_NAME': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 27
C2065 'XR_ML_USER_CALIBRATION_EXTENSION_NAME': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 35
C2065 'xrEnableUserCalibrationEventsML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 38
C3536 'Result': cannot be used before it is initialized UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 39
C2664 'const TCHAR *OpenXRResultToString(XrResult)': cannot convert argument 1 from 'int' to 'XrResult' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 41
C2065 'XrUserCalibrationEnableEventsInfoML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 54
C2146 syntax error: missing ';' before identifier 'EnableEventsInfo' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 54
C2065 'EnableEventsInfo': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 54
C2065 'XR_TYPE_USER_CALIBRATION_ENABLE_EVENTS_INFO_ML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 54
C2065 'EnableEventsInfo': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 55
C2065 'EnableEventsInfo': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 56
C3861 'xrEnableUserCalibrationEventsML': identifier not found UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 56
C2065 'XR_TYPE_EVENT_DATA_HEADSET_FIT_CHANGED_ML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 63
C2131 expression did not evaluate to a constant UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 63
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 65
C2146 syntax error: missing '>' before identifier 'XrEventDataHeadsetFitChangedML' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 65
C3536 'HeadsetFitChanged': cannot be used before it is initialized UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 66
C2065 'ConvertType': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 66
C2065 'XR_TYPE_EVENT_DATA_EYE_CALIBRATION_CHANGED_ML': undeclared identifier UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 75
C2131 expression did not evaluate to a constant UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 75
C4430 missing type specifier - int assumed. Note: C++ does not support default-int UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 78
C2146 syntax error: missing '>' before identifier 'XrEventDataEyeCalibrationChangedML' UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 78
C2051 case expression not constant UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 63
C2051 case expression not constant UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 75
C4065 switch statement contains 'default' but no 'case' labels UE5 D:_Projects\Unreal_5-3_ML2\Engine\Plugins\Runtime\MagicLeap\v1.2.0\MagicLeapUserCalibration\Source\MagicLeapUserCalibration\Private\MagicLeapUserCalibrationModule.cpp 87
MSB3073 The command ....\Build\BatchFiles\Build.bat -Target=UnrealEditor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6. UE5 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

Hi Nicholas,

Welcome to the MagicLeap developer forums! Sorry about the trouble building Unreal! There was a change that was committed to the 5.3-release-ml2 branch last week to change the OpenXR headers that would most likely cause the break. The change was just reverted earlier today- https://github.com/MagicLeapUnreal/UnrealEngine/commit/08ac95ed90e971cc849bf76d43b287ec259154dc

Sorry about that! If you run git pull, you should pickup the commit to revert the change to the headers. You should be able to build after that. Please let us know if you still have any trouble.

Best,
Adam