Jump to content

NRE

Pending 1.3.0

TuxGeek
TuxGeek

Posted

Hello, my server runs carbon and im getting this NRE in the server logs. I am also not getting the npcs to spawn almost anywhere anymore. No idea what is causing it as i did not make any changes, npcs just simply stopped spawning

[2024.09.03 16:00:12] [ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BetterNpc.UpdateMonumentDataFiles () (at /home/container/carbon/plugins/BetterNpc.cs:902)
  at Oxide.Plugins.BetterNpc+<LoadAllFiles>d__50.MoveNext () (at /home/container/carbon/plugins/BetterNpc.cs:1012)
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <470ec865e9cd405cbc45cdbc22bb3c0c>:0)
  at UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
  at Oxide.Plugins.BetterNpc:OnServerInitialized() (at /home/container/carbon/plugins/BetterNpc.cs:207)
  at Oxide.Plugins.BetterNpc:InternalCallHook(UInt32, Object[]) (at BetterNpc.cs/Internal:376)
  at Carbon.Hooks.HookCallerInternal:CallHook(BaseHookable, UInt32, BindingFlags, Object[]) (at /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookCallerInternal.cs:139)
  at Carbon.HookCaller:CallHook(BaseHookable, UInt32, Object) (at /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Components/HookCaller.cs:279)
  at Oxide.Core.Plugins.Plugin:CallHook(String, Object) (at /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Plugin.cs:590)
  at Carbon.Core.ModLoader:OnPluginProcessFinished() (at /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modding/ModLoader.cs:670)
  at Carbon.Managers.<Compile>d__51:MoveNext() (at /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs:537)
  at UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Jbird

Posted

6 hours ago, TuxGeek said:

Hello, my server runs carbon and im getting this NRE in the server logs. I am also not getting the npcs to spawn almost anywhere anymore. No idea what is causing it as i did not make any changes, npcs just simply stopped spawning

Check also with the Carbon support as if this just started to happen and you made no other changes, perhaps they have preemptively made some changes ahead of the update coming up from Facepunch that have caused the error to occur. Did you run a Carbon update recently? If the plugin was working, no changes were made, and this started to happen then that is most likely.

TuxGeek

Posted

I fixed the NRE bug by removing all files and reinstalling everything related to the plugin again. Not sure what caused it but the bots are not spawning still. I made a ticket about the bots not spawning on the discord as the NRE is fixed

Jbird

Posted

1 hour ago, TuxGeek said:

I fixed the NRE bug by removing all files and reinstalling everything related to the plugin again. Not sure what caused it but the bots are not spawning still. I made a ticket about the bots not spawning on the discord as the NRE is fixed

Well one issue down and onto the next! Thank you for creating a ticket I am sure we will get to the bottom of the new issue as well.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

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.