Closed Hexalotl closed 10 months ago
Nice job--does it work for webgl application builds?
Unfortunately, Unity does not allow native plugin code to be run in web players http://docs.unity3d.com/Manual/NativePlugins.html
Hi. How I can use this Plugin for Android, iOS and WebGL?
On Android I have message:
D/Unity ( 3103): Unable to lookup library path for 'lua52', native render plugin support disabled. E/Unity ( 3103): Unable to find lua52 I/Unity ( 3103): DllNotFoundException: lua52 I/Unity ( 3103): at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () I/Unity ( 3103): at KeraLua.Lua.LuaLNewState () [0x00000] in D:\Work\Unity3D\!Prototypes\LuaUsing\Assets\KeraLua\Lua.cs:33 I/Unity ( 3103): at NLua.LuaLib.LuaLNewState () [0x00000] in D:\Work\Unity3D\!Prototypes\LuaUsing\Assets\NLua\LuaLib\LuaLib.cs:77 I/Unity ( 3103): at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 I/Unity ( 3103): at SpawnSphere.Awake () [0x00000] in D:\Work\Unity3D\!Prototypes\LuaUsing\Assets\Example\SpawnSphere.cs:26 I/Unity ( 3103): I/Unity ( 3103): (Filename: D Line: 0)
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. These steps have been added to the read me file.
Issues addressed: