We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好, 设置LuaByteMode = true 在Mac上打包Android资源, 在Android的手机上报错: LuaException: tolua.lua: cannot load incompatible bytecode LuaInterface.LuaState:LuaLoadBuffer(Byte[], String) LuaInterface.LuaState:DoFile(String) LuaInterface.LuaState:OpenBaseLuaLibs() LuaInterface.LuaState:Start() LuaFramework.LuaManager:InitStart() LuaFramework.GameManager:OnInitialize() LuaFramework.GameManager:m__0() LuaFramework.c__AnonStorey2:<>m__0(Object[]) LuaFramework.c__Iterator0`1:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
The text was updated successfully, but these errors were encountered:
框架确实有这个问题,win和mac打包加密ab在Android都无法运行。这个问题应该是jit32位和64位的问题。 @torry @jarjin @jarjin2000
Sorry, something went wrong.
是的,LuaByteMode = true在安卓上就会有问题,无论LuaBundleMode是否 = true。
遇到同样的问题,这个有办法自己解决吗
我是这样解决的。自己重新编译了三个luajit,一个用于android,一个用于ios 32位,一个用于ios64位。
No branches or pull requests
您好,
设置LuaByteMode = true
在Mac上打包Android资源,
在Android的手机上报错:
LuaException: tolua.lua: cannot load incompatible bytecode
LuaInterface.LuaState:LuaLoadBuffer(Byte[], String)
LuaInterface.LuaState:DoFile(String)
LuaInterface.LuaState:OpenBaseLuaLibs()
LuaInterface.LuaState:Start()
LuaFramework.LuaManager:InitStart()
LuaFramework.GameManager:OnInitialize()
LuaFramework.GameManager:m__0()
LuaFramework.c__AnonStorey2:<>m__0(Object[])
LuaFramework.c__Iterator0`1:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
The text was updated successfully, but these errors were encountered: