求助大佬,帮我看看这个是怎么回事,进游戏就报错!!
XLua.LuaException: :6: '}' expected (to close '{' at line 3) near '='at XLua.LuaEnv.ThrowExceptionFromError (System.Int32 oldTop) in <c0c14869a7c0489f84ec195030836365>:0
at XLua.LuaEnv.DoString (System.Byte[] chunk, System.String chunkName, XLua.LuaTable env) in <c0c14869a7c0489f84ec195030836365>:0
at XLua.LuaEnv.DoString (System.String chunk, System.String chunkName, XLua.LuaTable env) in <c0c14869a7c0489f84ec195030836365>:0
at LuaGame.DoString (System.String chunkContent) in <c0c14869a7c0489f84ec195030836365>:0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
LuaGame:DoString(String)
ModManager:UpdateModList()
ModManager:Init()
<InitGameRes>d__20:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
System.NullReferenceException: Object reference not set to an instance of an object
at ModManager.UpdateModList () in <c0c14869a7c0489f84ec195030836365>:0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
ModManager:UpdateModList()
ModManager:Init()
<InitGameRes>d__20:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
Total 31 local mods found.
Total 0 mods loaded into the game.
ReadInterProcessMessages thread started.
WriteInterProcessMessages thread started.
Outgoing message: Initialize
Incoming message: GameModuleInitialized
点击关闭后,可以进游戏,但是要重新把MOD全部选一遍!
根目录MOD文件夹整个删了,然后修复。
页:
[1]