Jump to content

NullReferenceException

Work in Progress 1.3.5

0g.Ghost.7373
0g.Ghost.7373

Posted

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.DynamicMonuments+MonumentAutoSpawner+<AutoSpawnCoroutine>d__4.MoveNext () [0x00675] in <aad50ae211194364ae769f34d54c6e0f>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Oxide.Plugins.UnityLogInterceptor:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Just restarted my server and seen this.

Adem

Posted

Hi! That’s strange, I haven’t seen this before. Does it happen after every server restart? Is the plugin otherwise working normally?

Adem

Posted

Changed Status from Pending to Work in Progress

0g.Ghost.7373

Posted

I have only seen it the one time, the plugin seems to be working fine.

I just happened to see the error and figured I would pass it on.

zombiedge

Posted (edited)

Seeing the same thing but it stops all monument spawning. 

Debugging points to TryLoadData as the culprit.  

private readonly HashSet<string> _addonNames = new HashSet<string>
        {
            "junglePack",
            "christmasPack",
        };

 

Seems to be what the issue is.  Just remove the final "," after christmasPack and all is well

Edited by zombiedge
  • Like 1
0g.Ghost.7373

Posted

43 minutes ago, zombiedge said:

Seeing the same thing but it stops all monument spawning. 

Debugging points to TryLoadData as the culprit.  

private readonly HashSet<string> _addonNames = new HashSet<string>
        {
            "junglePack",
            "christmasPack",
        };

 

Seems to be what the issue is.  Just remove the final "," after christmasPack and all is well

Thanks. I will give it a try.

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
3m
Total downloads
Customers
12k
Customers served
Files Sold
171k
Total sales
Payments
3.7m
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.