NLua / KeraLua

C# Native bindings of Lua 5.4 (compatible with .NET/iOS/Mac/Android/UWP)
MIT License
305 stars 84 forks source link

NLua.Exceptions.LuaScriptException:“[string "chunk"]:3: attempt to index a nil value (global 'bit')” #88

Closed tytok closed 8 months ago

tytok commented 8 months ago

error:Attempt to read or write to protected memory. This usually indicates that other memory is corrupted.

StackTrace = " at KeraLua.NativeMethods.luaL_loadbufferx(IntPtr luaState, Byte[] buff, UIntPtr sz, String name, String mode)\r\n at KeraLua.Lua.LoadBuffer(Byte[] buffer, String name, String mode)\r\n at KeraLua.Lua.LoadString(String chunk, String name)\r\n at NL...

viniciusjarina commented 8 months ago

Missing info