Jump to content

Error

Fixed 1.1.1 1.2.2

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

Posted

Getting this in console after I installed the new version.

 

n <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) <0x41490fe0 + 0x00004> in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) [0x00001] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at BaseNetworkableEx.IsValid (BaseNetworkable ent) [0x00000] in <b364c4dd1f5b4a50a6bbc43eb0f543f6>:0

 

LeroyJenkins420

Posted

On 8/7/2025 at 8:33 PM, 0g.Ghost.7373 said:

Getting this in console after I installed the new version.

 

n <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <20d0b5e7a70b4f889feeaccdd49448ac>:0 
  at UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) <0x41490fe0 + 0x00004> in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) [0x00001] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at BaseNetworkableEx.IsValid (BaseNetworkable ent) [0x00000] in <b364c4dd1f5b4a50a6bbc43eb0f543f6>:0

 

Hey @0g.Ghost.7373

I just tested this on Oxide and I dont get the same error/s can you tell me a bit more about how to re-create this? 

plugin compiles successfully, and attaching wires works properly too

0g.Ghost.7373

Posted

I installed it again last night and all seemed fine.

Woke up to a wall of the errors. I asked the 2 players on and one says he was just running wires in his base.

This is in the log from when it started.

16:26 [Error] Failed to call hook 'OnWireConnect' on plugin 'AutoBranch v1.1.1' (StackOverflowException: The requested operation caused a stack overflow.)
  at System.IntPtr.op_Inequality (System.IntPtr value1, System.IntPtr value2) <0x41f0f840 + 0x00004> in <f98723dd4586469db5213ec59da723ca>:0 
  at UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) [0x00007] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) [0x0001d] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) [0x00001] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at IOEntity+IORef.Get (System.Boolean isServer) [0x00000] in <cc656648d0ba4519888a8db68e96aff5>:0 
  at IOEntity+IOSlot.IsConnected () [0x00000] in <cc656648d0ba4519888a8db68e96aff5>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0000f] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  

 

LeroyJenkins420

Posted

50 minutes ago, 0g.Ghost.7373 said:

I installed it again last night and all seemed fine.

Woke up to a wall of the errors. I asked the 2 players on and one says he was just running wires in his base.

This is in the log from when it started.

16:26 [Error] Failed to call hook 'OnWireConnect' on plugin 'AutoBranch v1.1.1' (StackOverflowException: The requested operation caused a stack overflow.)
  at System.IntPtr.op_Inequality (System.IntPtr value1, System.IntPtr value2) <0x41f0f840 + 0x00004> in <f98723dd4586469db5213ec59da723ca>:0 
  at UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) [0x00007] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) [0x0001d] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) [0x00001] in <470ec865e9cd405cbc45cdbc22bb3c0c>:0 
  at IOEntity+IORef.Get (System.Boolean isServer) [0x00000] in <cc656648d0ba4519888a8db68e96aff5>:0 
  at IOEntity+IOSlot.IsConnected () [0x00000] in <cc656648d0ba4519888a8db68e96aff5>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0000f] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  at Oxide.Plugins.AutoBranch.OutputRecurChuck (IOEntity entity, System.Int32& totalOutputPower) [0x0002e] in <888ea0dad7a942af85afbc7b318bb7fd>:0 
  

 

Could you screenshot some of their electrical systems and paste them here? 

LeroyJenkins420

Posted

@0g.Ghost.7373 try version 1.2.1 and let me know if this fixes your issue

I believe the issue may have been in my recursive checks it would get stuck in an infinite loop causing the stack overflow when branches were connected in a loop. 😃 

0g.Ghost.7373

Posted

I am thinking it may be this plugin. Both times a player was wiring them in along with other stuff.

 

Screenshot 2025-08-10 at 1.59.20 PM.png

Screenshot 2025-08-10 at 2.01.25 PM.png

LeroyJenkins420

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 1.2.2

1.9m

Downloads

Total number of downloads.

9.1k

Customers

Total customers served.

133.6k

Files Sold

Total number of files sold.

2.8m

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.