Vinicius Jarina

Results 70 comments of Vinicius Jarina

There are several ways of doing this. But I guess my preferred way would be pass a delegate to Lua ```csharp Action foo = MyFunction; lua["foo"] = foo; lua.DoString("foo()"); ```...

It works from C# side? Aren't you missing a Reference ?

Can you write a test case?. I can't understand the error with this amount of information. Maybe you need to use `string.char` and convert the byte array to Lua string...

I am not sure why that's the case, since LuaLibraryName is hardcoded on DllImport https://github.com/NLua/KeraLua/blob/main/src/NativeMethods.cs#L27 It seems like a bug on .NET iOS runtime

I guess is a bug on Xcode. I fixed forcing the right install_name value. It should be fixed on `1.7.2` (KeraLua `1.4.1`) https://github.com/NLua/lua/commit/4d5829b53aa463e1009775d8e7a27bacd66e2729

Try to bump to .NET 8, I've updated NLua/KeraLua to .NET 8. Just tested here with a Mac Catalyst application and is working fine.

What happen? it crashes? do you have the stacktrace? you running on Mono? .NET ?

Can you write a small test case? I don't know what is `Game` `Game.Common` etc