microsoft / MixedRealityCompanionKit

This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
591 stars 286 forks source link

Compile MixedRemoteViewCompositor ARM64 version cannot be used on the hololens2 #349

Closed xlaomao closed 3 years ago

xlaomao commented 3 years ago

NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: MixedRemoteViewCompositor.NetworkComponent::b__11_0 at MixedRemoteViewCompositor.Listener.StartAsync () [0x00000] in <00000000000000000000000000000000>:0 at MixedRemoteViewCompositor.MrvcManager.StartListener () [0x00000] in <00000000000000000000000000000000>:0 at MixedRemoteViewCompositor.MrvcManager.Start () [0x00000] in <00000000000000000000000000000000>:0