This error keeps showing up only when creating the character. Everything seems to work out for player, but it looks scary in server’s console 
System.Reflection.TargetInvocationException: Exception has been thrown by the ta
rget of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of
range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009
] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.Compi
lerServices.Closure,System.Runtime.CompilerServices.CallSite,object,int)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet] (System.Runtim
e.CompilerServices.CallSite site, T0 arg0, T1 arg1) [0x0011d] in <cf8f429092f345
a6bd742c3476e00e06>:0
at CitizenFX.Core.MsgPackDeserializer+<>c__DisplayClass36_1.<CreateRemoteFunct
ionReference>b__1 (System.Object res, System.Object err) [0x00246] in C:\gl\buil
ds\4ff63adb\0\cfx\fivem\code\client\clrcore\MsgPackDeserializer.cs:290
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInv
oke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Refle
ction.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
parameters, System.Globalization.CultureInfo culture) [0x0006a] in <fbc4ec453715
43bfba3678ebb82caf6d>:0
Exception_EndOfInnerExceptionStack
Server stack trace:
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Refle
ction.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
parameters, System.Globalization.CultureInfo culture) [0x00083] in <fbc4ec453715
43bfba3678ebb82caf6d>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] par
ameters) [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <fbc4
ec45371543bfba3678ebb82caf6d>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008]
in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <fbc4ec45
371543bfba3678ebb82caf6d>:0
at CitizenFX.Core.FunctionReference.Invoke (System.Int32 reference, System.Byt
e[] arguments) [0x00062] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcor
e\FunctionReference.cs:65
at CitizenFX.Core.InternalManager.CallRef (System.Int32 refIndex, System.Byte[
] argsSerialized, System.IntPtr& retvalSerialized, System.Int32& retvalSize) [0x
00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\InternalManager.
cs:438
at (wrapper remoting-invoke-with-check) CitizenFX.Core.InternalManager.CallRef
(int,byte[],intptr&,int&)
at (wrapper xdomain-dispatch) CitizenFX.Core.InternalManager.CallRef(object,by
te[]&,byte[]&,int,byte[],int&)
Exception rethrown at [0]:
at (wrapper xdomain-invoke) CitizenFX.Core.InternalManager.CallRef(int,byte[],
intptr&,int&)
at (wrapper remoting-invoke-with-check) CitizenFX.Core.InternalManager.CallRef
(int,byte[],intptr&,int&)
at CitizenFX.Core.MonoScriptRuntime.CallRef (System.Int32 refIndex, System.Byt
e[] argsSerialized, System.Int32 argsSize, System.IntPtr& retvalSerialized, Syst
em.Int32& retvalSize) [0x00013] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client
\clrcore\MonoScriptRuntime.cs:195
Error resuming coroutine: citizen:/scripting/lua/MessagePack.lua:830: missing by
tes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:628: in field 'cb'
citizen:/scripting/lua/scheduler.lua:399: in function <citizen:/scriptin
g/lua/scheduler.lua:389>
server thread hitch warning: timer interval of 261 milliseconds
local IdentifierTables = {
{table = "users", column = "identifier"},
{table = "owned_vehicles", column = "owner"},
{table = "user_accounts", column = "identifier"},
{table = "addon_account_data", column = "owner"},
{table = "addon_inventory_items", column = "owner"},
{table = "billing", column = "identifier"},
{table = "characters", column = "identifier"},
{table = "datastore_data", column = "owner"},
{table = "owned_properties", column = "owner"},
{table = "rented_vehicles", column = "owner"},
{table = "society_moneywash", column = "identifier"},
{table = "user_inventory", column = "identifier"},
{table = "user_licenses", column = "owner"},
{table = "jail", column = "identifier"},
{table = "owned_bags", column = "identifier"},
{table = "user_contacts", column = "identifier"},
{table = "user_parkings", column = "identifier"},
}
Any ideas what’s wrong?