Hello everyone, my server always experiences a startup failure after each wipe. The specific error is as follows, which appears to be related to GroundVehicle.get_CurEngineState. Does anyone know what might be causing this? I have installed VehicleLicence and ensured it is up to date. This issue has been bothering me for a long time, so I'm seeking help!
Spawning 156972 entities from map
done.
Postprocessing 156972 entities from map
Setting parent to entity that hasn't spawned yet! (net is null)
NullReferenceException: Object reference not set to an instance of an object.
at BaseEntity.SetParent (BaseEntity entity, System.UInt32 boneID, System.Boolean worldPositionStays, System.Boolean sendImmediate) [0x00139] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at BaseEntity.SetParent (BaseEntity entity, System.Boolean worldPositionStays, System.Boolean sendImmediate) [0x00000] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at MicrophoneStand.SpawnChildEntity () [0x0003e] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at MicrophoneStand.PostMapEntitySpawn () [0x00011] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at SaveRestore.SpawnMapEntities (System.Collections.Generic.List`1[T] entities) [0x000a4] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at ServerMgr.Initialize (System.Boolean loadSave, System.String saveFile, System.Boolean allowOutOfDateSaves, System.Boolean skipInitialSpawn) [0x00097] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at Bootstrap+<StartServer>d__22.MoveNext () [0x0033e] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <29a77516cc78463d81e5b2528077962e>:0
NullReferenceException: Object reference not set to an instance of an object
at GroundVehicle.get_CurEngineState () [0x00000] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at ModularCar.RefreshEngineState () [0x00000] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at ModularCar.OnFlagsChanged (BaseEntity+Flags old, BaseEntity+Flags next) [0x0000d] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at BaseEntity.SetFlag (BaseEntity+Flags f, System.Boolean b, System.Boolean recursive, System.Boolean networkupdate) [0x0003d] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at BaseVehicle.UpdateMountFlags () [0x00025] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at BaseModularVehicle.ModuleEntityAdded (BaseVehicleModule addedModule) [0x001d2] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at ModularCar.ModuleEntityAdded (BaseVehicleModule addedModule) [0x00000] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at BaseModularVehicle+<>c__DisplayClass48_0.<OnChildAdded>b__0 () [0x00000] in <6484879e998d40b3bce00cbd1cc6dff6>:0
at InvokeHandlerBase`1[T].DoTick () [0x0010d] in <7370d544f6ff42f886272d05bfc8aaca>:0
at InvokeHandlerBase`1[T].LateUpdate () [0x0001f] in <7370d544f6ff42f886272d05bfc8aaca>:0