#Vehicle broke suddenly?
18 messages · Page 1 of 1 (latest)
Error:
[2023-12-03 17:48:03] [World] Crowbar [DrDallas]: "/vehicle 17030"
[2023-12-03 17:48:03] Exception while spawning vehicle: Sled
[2023-12-03 17:48:03] Object reference not set to an instance of an object
[2023-12-03 17:48:03] at SDG.Unturned.InteractableVehicle.init (SDG.Unturned.VehicleAsset asset) [0x00d57] in <7645880038c04d79ba03cae52b6a86c7>:0
at SDG.Unturned.VehicleManager.addVehicle (System.Guid assetGuid, 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, SDG.Unturned.NetId netId) [0x000ec] in <7645880038c04d79ba03cae52b6a86c7>:0
[2023-12-03 17:48:03] Successfully gave DrDallas 17030!
Spawns, but doesnt allow me to get in.
Everything is somewhat fine in unity. I'll post every important gameobject
likely missing some gameobject
yeah certain gameobjects just have to be there, even if you arent using them
like "Wheels" for example, even if you dont have any wheel_x
the vehicle wont initialize without them and will throw a null reference
@ancient jewel
Ya I just fixed it
So weird... wheels are just models that bind to tires
thank you
np