Unity Editor version : 2022.3.4f1
ML2 OS version : 1.1.0
MLSDK version : 1.3.0
Host OS : (Windows)
Description: I'm building a human experiment with help of magic leap 2. The admin should see the mixed reality video that ml2 provides. However, the ml2 examples from version 1.4.0 to 1.9.0 been tested all in all give the same errors. I really hate the ambiguous error logs provided by ml2 because i can't really where is the problem at or what they mean... The error logs are below.
Error messages from logs:
Error: MLWebRTCInstanceCreateWithDebugUtils in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLWebRTC/VideoSink:Create (UnityEngine.XR.MagicLeap.MLResult&)
MagicLeap.Core.MLWebRTCVideoSinkBehavior:Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:55)
Error: MLWebRTC Start in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLWebRTC/VideoSink:Create (UnityEngine.XR.MagicLeap.MLResult&)
MagicLeap.Core.MLWebRTCVideoSinkBehavior:Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:55)
Error: MLWebRTCVideoSinkCreate in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLWebRTC/VideoSink:Create (UnityEngine.XR.MagicLeap.MLResult&)
MagicLeap.Core.MLWebRTCVideoSinkBehavior:Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:55)
NullReferenceException: Object reference not set to an instance of an object
MagicLeap.Core.MLWebRTCVideoSinkBehavior.Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:60)
Error: MLWebRTCVideoSinkCreate in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLWebRTC/VideoSink:Create (UnityEngine.XR.MagicLeap.MLResult&)
MagicLeap.Core.MLWebRTCVideoSinkBehavior:Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:55)
NullReferenceException: Object reference not set to an instance of an object
MagicLeap.Core.MLWebRTCVideoSinkBehavior.Awake () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCVideoSinkBehavior.cs:60)
Error: MLWebRTCAudioSinkCreateEx in the Magic Leap API failed. Reason: MLResult_NotImplemented
UnityEngine.XR.MagicLeap.MLWebRTC/AudioSink:Create (UnityEngine.XR.MagicLeap.MLResult&,UnityEngine.XR.MagicLeap.MLWebRTC/AudioSink/BufferNotifyMode)
MagicLeap.Core.MLWebRTCAudioSinkBehavior:Start () (at ./Library/PackageCache/com.magicleap.unitysdk@1.9.0/Runtime/APIs/WebRTC/Scripts/MLWebRTCAudioSinkBehavior.cs:82)
And then when i try to connect to the webrtc server (python code) that's under webrtc setup folder. it won't login either to the webrtc peer connection.
I updated the OS of ml2 to the latest and the errors still remains.
Can you please tell me where the problem at and how should i fix it.