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
VerificationException: Error verifying KopiLua.Lua:.cctor (): Cannot take the address of a init-only field at 0x1b0f
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for KopiLua.Lua
but if I don't use KopiLua (Android, iOS or Standalone) everything is going well.
The text was updated successfully, but these errors were encountered:
at kopilua/luaconf.cs : 130
public static readonly string LUA_DIRSEP = Path.DirectorySeparatorChar.ToString();
Path.DirectorySeparatorChar is not allowed to call on webplayer.
I think every operation on the file & path is not allowed.
change this to
public static readonly string LUA_DIRSEP = "/";
The lua is work.
VerificationException: Error verifying KopiLua.Lua:.cctor (): Cannot take the address of a init-only field at 0x1b0f
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for KopiLua.Lua
but if I don't use KopiLua (Android, iOS or Standalone) everything is going well.
The text was updated successfully, but these errors were encountered: