Unity - NatNetLib IL2CPP Exception
Posted: Tue Apr 26, 2022 7:08 am
Unity Plugin 1.4.0
Due to performance reasons, we would like to build our Unity Standalone Windows App with the IL2CPP Scripting backend.
The problem is that we can't, as the following Error pops up:
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: NaturalPoint.NatNetLib.NatNetClient::FrameReceivedNativeThunk
There maybe a solution in the Unity-Forum for the same Error but different asset: https://forum.unity.com/threads/il2cpp- ... st-6770581
Is this problem known and the Mono Scripting Backend the only solution?
Will this issue be solved?
Thanks and best regards,
Loogix
Due to performance reasons, we would like to build our Unity Standalone Windows App with the IL2CPP Scripting backend.
The problem is that we can't, as the following Error pops up:
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: NaturalPoint.NatNetLib.NatNetClient::FrameReceivedNativeThunk
There maybe a solution in the Unity-Forum for the same Error but different asset: https://forum.unity.com/threads/il2cpp- ... st-6770581
Is this problem known and the Mono Scripting Backend the only solution?
Will this issue be solved?
Thanks and best regards,
Loogix