Jump to content

Experiences bug that was supposed to be fixed in v1.0.6

Closed 1.0.6 1.0.7

Joe Petrie
Joe Petrie

Posted

If I pickup a container (and probably destroy it as well) and then try and add instances to any other containers it's throwing an NRE and preventing the instances from being added.

 

Failed to call hook 'AddStorage' on plugin 'InstancedContainers v1.0.6' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.InstancedContainers+<FindParentContainerEntity>c__AnonStorey0.<>m__0 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] x) [0x00007] in <a2b02361ff70481d9f0a1b866b98dc9f>:0

at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at Oxide.Plugins.InstancedContainers.FindParentContainerEntity (System.UInt32 id) [0x00024] in <a2b02361ff70481d9f0a1b866b98dc9f>:0

at Oxide.Plugins.InstancedContainers.AddStorage (ConsoleSystem+Arg arg) [0x000da] in <a2b02361ff70481d9f0a1b866b98dc9f>:0

at Oxide.Plugins.InstancedContainers.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f5b] in <a2b02361ff70481d9f0a1b866b98dc9f>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

  • Curator
imthenewguy

Posted

Odd. I assume a reload of the plugin allows tabs to be created again?

Joe Petrie

Posted

Correct.  Reloading it allows it to work again.

Joe Petrie

Posted

Ok, I did some more testing so I could clarify the steps the reproduce the issue.

1.  Place a container.

2.  Add an instance.

3.  Pick up the container.

4.  Breaks adding instances to any container.

 

  • Curator
imthenewguy

Posted

6 hours ago, Joe Petrie said:

Ok, I did some more testing so I could clarify the steps the reproduce the issue.

1.  Place a container.

2.  Add an instance.

3.  Pick up the container.

4.  Breaks adding instances to any container.

 

Ok sweet. I probably just need to handle the container when it is collected.

  • Curator
imthenewguy

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.7

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
2.4m
Total downloads
Customers
10.7k
Customers served
Files Sold
155.1k
Marketplace sales
Payments
3.3m
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.