Unity3D-NLua
Unity3D-NLua copied to clipboard
Everything you need to get started using Lua in Unity3D. Indie & Pro compatible.
When I try to compile my script in "il2cpp", I get this error: ``` System.NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition....
Downloaded the project and added the scripting symbols mentioned in the instruction . But i am still getting some compilation errors Assets/NLua/GenerateEventAssembly/CodeGeneration.cs(441,32): error CS0246: The type or namespace name 'TypeBuilder'...
i noticed with some functions when i try to call it from lua i get tie "requires non null target object error' like with Animator.SetFloat that happens and with some...
I know Lua has method `public Dictionary GetTableDict (LuaTable table)` I want to make the opposite, convert Dictionary to LuaTable. Any advice will be appreciated.
Hello! On Android devices, Lua can't start. 06-16 14:08:52.176: E/Unity(28731): Unable to find lua52 06-16 14:08:52.237: I/Unity(28731): DllNotFoundException: lua52 06-16 14:08:52.237: I/Unity(28731): at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () 06-16 14:08:52.237: I/Unity(28731):...
I'm having a problem accessing a function from a C# script through lua. This is the error given when the Lua script is run. Here is the function that runs...
After installing the latest version of kera lua into my project and configuring the player settings list, I can not even compile the project due to these errors: ``` `Assets/NLua/Extensions/GeneralExtensions.cs(65,36):...
Compiled plugins for Android, iOS, WSA, and Linux. Modified the example Lua scripts to make them mobile friendly. Note, there are a few special steps needed to build for iOS....
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'm getting an error telling me: unexpected symbol near ')' How do I fix this. Note: addCommand is an function from a .NET script called Console. ``` lua Console.addCommand (Command("Test",...