Jump to content

# Issue: UnderwaterGuard.cs Causes Continuous NullReferenceException on Gasoline Map

Fixed 1.2.6

K9N_Twitch
K9N_Twitch

Posted

Hello, I am experiencing a problem with the **Gasoline** map on Codefling.

The map includes a plugin called **UnderwaterGuard.cs**, and when this plugin is enabled, the server starts spamming the following error:
 

Quote

NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at BaseEntity.NetworkPositionTick () [0x00000] in <248c9da9f3384df39c37ae5688d21d52>:0
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at BaseEntity.NetworkPositionTick () [0x00000] in <248c9da9f3384df39c37ae5688d21d52>:0
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at BaseEntity.NetworkPositionTick () [0x00000] in <248c9da9f3384df39c37ae5688d21d52>:0
Unloaded plugin UnderwaterGuard v1.0.6 by Adem
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at BaseEntity.NetworkPositionTick () [0x00000] in <248c9da9f3384df39c37ae5688d21d52>:0

When the plugin is **disabled**, all errors stop.

When **enabled**, the errors spam nonstop and the server becomes unstable  
(e.g., crafting delays, resource nodes not working, etc.).

It seems like the plugin is creating or interacting with an entity that has a missing or invalid transform, causing Rust’s `NetworkPositionTick()` to throw a NullReferenceException repeatedly.

Could you please check the plugin or provide an updated/fixed version?

Thank you.
 

Gruber

Posted

7 hours ago, K9N_Twitch said:

Hello, I am experiencing a problem with the **Gasoline** map on Codefling.

The map includes a plugin called **UnderwaterGuard.cs**, and when this plugin is enabled, the server starts spamming the following error:
 

When the plugin is **disabled**, all errors stop.

When **enabled**, the errors spam nonstop and the server becomes unstable  
(e.g., crafting delays, resource nodes not working, etc.).

It seems like the plugin is creating or interacting with an entity that has a missing or invalid transform, causing Rust’s `NetworkPositionTick()` to throw a NullReferenceException repeatedly.

Could you please check the plugin or provide an updated/fixed version?

Thank you.
 

Hi, thanks for the feedback, I've already written to the plugin developer to check it out.

  • Like 1
Gruber

Posted

Changed Status from Pending to Fixed

  • Like 1
2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

142.8k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • 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.