Jump to content

Error with CustomLoot and Carbon

Pending 1.2.1

Billionaire
Billionaire

Posted (edited)

Hello , I have this error in the console with CustomLoot and Carbon:

[CustomLoot] Timer 0.3s has failed: (Object reference not set to an instance of an object) at void Oxide.Plugins.CustomLoot.ProcessContainer(LootContainer container, bool start) in /home/rustserverdev/serverfiles/carbon/plugins/CustomLoot.cs:line 118 at void Oxide.Plugins.CustomLoot.OnLootSpawn(LootContainer container)+() => { } in /home/rustserverdev/serverfiles/carbon/plugins/CustomLoot.cs:line 192 at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { }

 

How to correct this problem?

Edited by Billionaire
  • Administrator
Steenamaroo

Posted

Hi,
Looks like I could use a few additional null checks in that method.
I'll be releasing an update shortly for other reasons so I'll add those in.

Thanks for letting me know. 👍

Billionaire

Posted

Ok good. Thank you for your responsiveness. THANKS

Billionaire

Posted

@Steenamaroo

The latest update is functional but there is still this problem:

 

Warning! 'CustomLoot' uses UnityEngine.GameObject.FindObjectsOfType. That may cause significant performance drops, and/or server stalls. Report to the developer or use at your own discretion!

 

  • Administrator
Steenamaroo

Posted

Yeah that’s just carbon team being dicks. 
you can ignore. 

Billionnaire

Posted

[CustomLoot] Timer 1s has failed: (Object reference not set to an instance of an object)

at void Oxide.Plugins.CustomLoot.PopulateContainer(LootContainer container)+() => { } [0] in /home/rustserver/serverfiles/carbon/plugins/CustomLoot.cs:line 173

at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { }

(09:12:10) | [CustomLoot] Timer 1s has failed: (Object reference not set to an instance of an object)

at void Oxide.Plugins.CustomLoot.PopulateContainer(LootContainer container)+() => { } [0] in /home/rustserver/serverfiles/carbon/plugins/CustomLoot.cs:line 173

at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { }

(09:12:10) | [CustomLoot] Timer 1s has failed: (Object reference not set to an instance of an object)

at void Oxide.Plugins.CustomLoot.PopulateContainer(LootContainer container)+() => { } [0] in /home/rustserver/serverfiles/carbon/plugins/CustomLoot.cs:line 173

at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { }

(09:12:10) | [CustomLoot] Timer 1s has failed: (Object reference not set to an instance of an object)

at void Oxide.Plugins.CustomLoot.PopulateContainer(LootContainer container)+() => { } [0] in /home/rustserver/serverfiles/carbon/plugins/CustomLoot.cs:line 173

at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { }


Hi, I still have this problem since the last update:

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.