按照步驟集成snapshot,出現(xiàn)下面的錯(cuò)誤,如何解決呢召调,大佬
LuaException: [string "LuaState.cs"]:6: module 'snapshot' not found:
no field package.preload['snapshot']
no file './snapshot.lua'
no file 'E:/unity5.6.6f2/Editor/lua/snapshot.lua'
no file 'E:/unity5.6.6f2/Editor/lua/snapshot/init.lua'
no file 'D:/unity/LuaLeakTest/Assets/ToLua/Lua/snapshot.lua'
no file 'D:/unity/LuaLeakTest/Assets/Lua/snapshot.lua'
no file './Resources/snapshot.lua'
no file 'C:/Users/togchen/AppData/LocalLow/DefaultCompany/LuaLeakTest/Win/Lua/snapshot.lua'
no file '.\snapshot.dll'
no file 'E:\unity5.6.6f2\Editor\snapshot.dll'
no file 'E:\unity5.6.6f2\Editor\loadall.dll'
stack traceback:
[C]: in function 'require'
[string "LuaState.cs"]:6: in function <[string "LuaState.cs"]:3>
LuaInterface.LuaState:PCall(Int32, Int32) (at Assets/ToLua/Core/LuaState.cs:756)
LuaInterface.LuaFunction:PCall() (at Assets/ToLua/Core/LuaFunction.cs:96)
LuaInterface.LuaFunction:Call() (at Assets/ToLua/Core/LuaFunction.cs:120)
LuaMemoryLeack:Check() (at Assets/ToLua/Examples/20_utf8/LuaMemoryLeack.cs:57)
UnityEngine.EventSystems.EventSystem:Update()
Unity手游開發(fā)札記——ToLua#集成內(nèi)存泄露檢查和性能檢測工具0. 前言 有段時(shí)間沒有寫博客了波桩,主要原因是事情有點(diǎn)多冰蘑,一件接著一件掖桦,沒有太多整理總結(jié)的機(jī)會(huì)冕香。游戲開發(fā)逐漸進(jìn)入鋪量制作的忙碌階段,趣味性沒那么多是趴,新鮮感也少了涛舍,雖然還是有很多...