Open lukaspj opened 9 years ago
Running static code generator removes those issues, but creates a new one here:
mwle_fnSimpleNetObject_setMessage= (wle_fnSimpleNetObject_setMessage)Marshal.GetDelegateForFunctionPointer(GetProcAddress(dllname, "wle_fnSimpleNetObject_setMessage"), typeof(wle_fnSimpleNetObject_setMessage));
Some kind of nullpointer exception, commenting that out makes the engine run for about 10 seconds but then it crashes again at:
// Omni.cs line 382
while (!_mStop)
{
lock (_tick)
SafeNativeMethods.mtorque_enginetick();
}
With the exception:
An exception of type 'System.Runtime.InteropServices.SEHException' occurred in WinterLeaf.Engine.Omni.dll but was not handled in user code
Using the package manager to create a new project based on Empty (C#), then compiling the engine and compiling the C# gives 9 errors:
I'll try running the static code generator and see if it fixes things.
Edit: