下载了XLUA框架的例子,在Examples 08中, 运行了HotfixTest这个场景,控制台会报错。错误如下.
请问siki老师,这种错误如何调试。从什么地方着手解决这样的BUG
LuaException: xlua.access, no field __Hotfix0_Update
stack traceback:
[C]: in field 'access'
[string "Init"]:88: in field 'hotfix'
[string "chunk"]:2: in main chunk
XLua.LuaEnv.ThrowExceptionFromError (Int32 oldTop) (at Assets/XLua/Src/LuaEnv.cs:429)
XLua.LuaEnv.DoString (System.Byte[] chunk, System.String chunkName, XLua.LuaTable env) (at Assets/XLua/Src/LuaEnv.cs:262)
XLua.LuaEnv.DoString (System.String chunk, System.String chunkName, XLua.LuaTable env) (at Assets/XLua/Src/LuaEnv.cs:276)
HotfixTest.OnGUI () (at Assets/XLua/Examples/08_Hotfix/HotfixTest.cs:27)