Closed baranmod closed 3 years ago
Maybe someone have an idea why this error appears with modded train on server load?
[8/5/2021 10:45:53 AM] [Error] Object reference not set to an instance of an object [8/5/2021 10:45:53 AM] [Error] at SDG.Unturned.InteractableVehicle.getTrainCar (UnityEngine.Transform root) [0x0000b] in <bce635775166430dbe9123680361f6c4>:0 at SDG.Unturned.InteractableVehicle.init () [0x0100b] in <bce635775166430dbe9123680361f6c4>:0 at SDG.Unturned.VehicleManager.addVehicle (System.UInt16 id, System.UInt16 skinID, System.UInt16 mythicID, System.Single roadPosition, UnityEngine.Vector3 point, UnityEngine.Quaternion angle, System.Boolean sirens, System.Boolean blimp, System.Boolean headlights, System.Boolean taillights, System.UInt16 fuel, System.Boolean isExploded, System.UInt16 health, System.UInt16 batteryCharge, Steamworks.CSteamID owner, Steamworks.CSteamID group, System.Boolean locked, Steamworks.CSteamID[] passengers, System.Byte[][] turrets, System.UInt32 instanceID, System.Byte tireAliveMask) [0x00103] in <bce635775166430dbe9123680361f6c4>:0
Same mod as #2743? On client and server that method expects "Track_Front" and "Track_Back" as children of the "Objects" transform.
ahh, sorry, didn't notice other issue. Got it fixed, thanks for help!
Maybe someone have an idea why this error appears with modded train on server load?