You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am doing a lot of struggle to marshal data into Unity from external .NET process or external WebAssembly module.
It would be much better if this library would support Unity engine by default.
As you may know, Unity supports only up to .NET 4.8 or .NET Standard 2.1, see docs.
I managed to compile library to .NET Standard 2.1, which runs fine in .NET 7 executable, but gives some weird errors in Unity, like InvalidProtocolBufferException. Then there is Unity's custom AOT solution (called IL2CPP) which I haven't even tried to run with.
What do you think about it ?
The text was updated successfully, but these errors were encountered:
Build: dotnet publish -c Release - you need to publish so you get all dependency DLLs in the same folder (which will also be .NET Standard 2.1 compatible)
Currently I am doing a lot of struggle to marshal data into Unity from external .NET process or external WebAssembly module.
It would be much better if this library would support Unity engine by default.
As you may know, Unity supports only up to .NET 4.8 or .NET Standard 2.1, see docs.
I managed to compile library to .NET Standard 2.1, which runs fine in .NET 7 executable, but gives some weird errors in Unity, like
InvalidProtocolBufferException
. Then there is Unity's custom AOT solution (called IL2CPP) which I haven't even tried to run with.What do you think about it ?
The text was updated successfully, but these errors were encountered: