Unity Editor version: 2022.2.0b4
ML2 OS version: B3E.220721.07-R.026
MLSDK version: 0.53.2
I am following the development environment setup instructions from:
1. Set Up Development Environment | MagicLeap Developer Documentation
I imported the MLSDK, but after adding the ML XR plugin v7.0.0-exp.3 , there are 59 compiler warnings. A number of them are conflicting classes between MLSDK and the XR plugin, which doesn't sound good. Especially when the compiler has to chose which to use.
I am working a WebRTC client, so I've only included specific examples that had WebRTC in the name or seemed important: such as ReferenceFrame.
I didn't want to continue development until I felt confident I had things setup correctly.
Here is the breakdown of the warnings I'm seeing.
4x CS0618 => Lumin is no longer supported in Unity 2022.2:
UsesLuminPrivilegeAttribute,
11x CS0436 => conflicting types between ML SDK and ML XR Plugin:
ReferenceFrame,
ConvertStridedToGrayscaleJob,
ConvertARGB32ToGrayscaleJob,
ConvertBGRA32ToGrayscaleJob,
ConvertRFloatToGrayscaleJob,
18x CS0067 => event is never used
MLWebRTC.AudioSink.OnAudioDataAvailable_NativeCallbackThread,
MLWebRTC.AudioSink.OnAudioServiceStatusChanged,
MLWebRTC.AudioSink.OnAudioDataAvailable,
MLWebRTC.AudioSink.OnAudioDataAvailable,
...
26x CS0414 => assigned but its value is never used
MLWebRTC.VideoSink.prevWidth,
MLWebRTC.AppDefinedAudioSource.isEnabled,
MLWebRTC.VideoSink.prevHeight,
...
Andrew
ProjectSetupWarnings.txt (16.8 KB)