Coral is a C++/C# wrapper around the .NET CoreCLR library, the purpose of Coral is to provide a native interface similar to Mono, but in a more modern style, and using .NET Core instead of .NET Framework
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
Call Stack:
Console:
[Coral](Info): Loading assembly 'D:\dev\SquareEngine\scripting\Coral\Build\Release/Example.Managed.dll'
[Coral](Error): Failed to find type with id '1928776192'.
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Coral.Managed.ManagedObject.InvokeMethod(IntPtr, Coral.Managed.Interop.NativeString, IntPtr, Coral.Managed.ManagedType*, Int32)
I am trying to make C# bindings for C++ for a game engine. This is the ScriptEngine.cpp file:
Header:
I get the following error:
Call Stack:
Console:
Main.cpp: