2018-05-05T22:36:25 580.205 ERR [MODS] Error while executing SavePlayerData on mod "Server Tools"
2018-05-05T22:36:25 580.205 EXC Array index is out of range.
IndexOutOfRangeException: Array index is out of range.
at ServerTools.DupeLog.Exec (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ServerTools.API.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ModManager.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ModManager:SavePlayerData(ClientInfo, PlayerDataFile)
GameManager:SavePlayerData(ClientInfo, PlayerDataFile)
NetPackagePlayerData:ProcessPackage(World, INetConnectionCallbacks)
ConnectionManager:VN(INetConnection, NetPackageDirection)
ConnectionManager:Update()
(Filename: Line: -1)
2018-05-05T22:36:28 582.687 ERR [MODS] Error while executing SavePlayerData on mod "Server Tools"
2018-05-05T22:36:28 582.687 EXC Array index is out of range.
IndexOutOfRangeException: Array index is out of range.
at ServerTools.DupeLog.Exec (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ServerTools.API.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ModManager.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ModManager:SavePlayerData(ClientInfo, PlayerDataFile)
GameManager:SavePlayerData(ClientInfo, PlayerDataFile)
NetPackagePlayerData:ProcessPackage(World, INetConnectionCallbacks)
ConnectionManager:VN(INetConnection, NetPackageDirection)
ConnectionManager:Update()
I would have to guess this might occur when a player has no player data file and it tries to run a dupe check on them. Not sure how that is possible but I add a null ref check to the data.
2018-05-05T22:36:25 580.205 ERR [MODS] Error while executing SavePlayerData on mod "Server Tools" 2018-05-05T22:36:25 580.205 EXC Array index is out of range. IndexOutOfRangeException: Array index is out of range. at ServerTools.DupeLog.Exec (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in:0
at ServerTools.API.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ModManager.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ModManager:SavePlayerData(ClientInfo, PlayerDataFile)
GameManager:SavePlayerData(ClientInfo, PlayerDataFile)
NetPackagePlayerData:ProcessPackage(World, INetConnectionCallbacks)
ConnectionManager:VN(INetConnection, NetPackageDirection)
ConnectionManager:Update()
(Filename: Line: -1)
2018-05-05T22:36:28 582.687 ERR [MODS] Error while executing SavePlayerData on mod "Server Tools" 2018-05-05T22:36:28 582.687 EXC Array index is out of range. IndexOutOfRangeException: Array index is out of range. at ServerTools.DupeLog.Exec (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in:0
at ServerTools.API.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
at ModManager.SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ModManager:SavePlayerData(ClientInfo, PlayerDataFile)
GameManager:SavePlayerData(ClientInfo, PlayerDataFile)
NetPackagePlayerData:ProcessPackage(World, INetConnectionCallbacks)
ConnectionManager:VN(INetConnection, NetPackageDirection)
ConnectionManager:Update()
(Filename: Line: -1)