Jump to content

Null Reference Exception

Pending 1.1.0

TuxGeek
TuxGeek

Posted

Im getting a NRE on my server from the Hot air balloons from flying cargo ship as they are being spawned or destroyed being targeted by sam sites. This is what the error started as and has spammed since until a reboot happens. 

I have version 1.1.0 installed. Im using Oxide

Cannot set the parent of the GameObject 'assets/prefabs/deployable/hot air balloon/hotairballoon.prefab' while activating or deactivating the parent GameObject 'assets/content/vehicles/boats/cargoship/cargoshiptest.prefab'.
[FlyingCargoShip] Schedule event in 60min
NullReferenceException: Object reference not set to an instance of an object.
at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0
at UnityEngine.Rigidbody.set_isKinematic (System.Boolean value) [0x00006] in <2d0f16869212430390072ac38dfbbd87>:0
at Oxide.Plugins.AirEvent+ControllerAirEvent.FixedUpdate () [0x00015] in <0cd9fb0ba16f4169aa93b5d3236ca317>:0

NullReferenceException: Object reference not set to an instance of an object.
at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0
at UnityEngine.Component.get_transform () [0x00006] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0
at BaseEntity.WorldSpaceBounds () [0x00000] in <50596b87c643494a86c04c774a51e9ab>:0
at BaseEntity.CenterPoint () [0x00000] in <50596b87c643494a86c04c774a51e9ab>:0
at SamSite.AddTargetSet (System.Collections.Generic.List1[T] allTargets, System.Single scanRadius) [0x0001d] in <50596b87c643494a86c04c774a51e9ab>:0 at SamSite.TargetScan () [0x000c2] in <50596b87c643494a86c04c774a51e9ab>:0 at InvokeHandlerBase1[T].DoTick () [0x00120] in <9af42e0489ee47e08d6c7099c5bb8736>:0
at InvokeHandlerBase`1[T].LateUpdate () [0x0002b] in <9af42e0489ee47e08d6c7099c5bb8736>:0

The_Kiiiing

Posted

Thanks for your detailed report, I'm gonna release a fix asap.

The_Kiiiing

Posted

Are you sure this error is from FlyingCargoShip and not from AirEvent? The logged error comes from the AirEvent plugin, also the current version of flying cargo does not spawn any hot air balloons, only pumpkins.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
173.1k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.