Jump to content

Failed to run a 0.20 timer in 'NPCGrenades v1.1.14' (NullReferenceException: )

Can't Reproduce 1.1.14 1.1.14

TwoShoes
TwoShoes

Posted (edited)

When throwing a nade nothing happens and I get this in console
Yes you can spawn a nade just fine. It's when you throw it, and the boom nothing happends, and this pops in console: 

Failed to run a 0.20 timer in 'NPCGrenades v1.1.14' (NullReferenceException: )

at (wrapper managed-to-native) UnityEngine.CapsuleCollider.get_radius(UnityEngine.CapsuleCollider)

at BasePlayer.WaterFactor () [0x0003c] in <731015b6ee534757b9869a7c42c4696a>:0

at Oxide.Plugins.NPCGrenades.SpawnAborted (BasePlayer player, BaseEntity npc, Item npcNade, UnityEngine.Vector3 position, System.UInt64 npcId) [0x00021] in <93ec8fa8d6cd473abf53b27955293582>:0

at Oxide.Plugins.NPCGrenades+<SpawnScientist>c__AnonStorey2.<>m__0 () [0x00011] in <93ec8fa8d6cd473abf53b27955293582>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

Edited by TwoShoes
wanted to add to make it more clear
ZEODE

Posted

Hi, thanks for the report.

I am away and won’t be able to get to my PC until tomorrow. I will then look into it. Was the grenade thrown in or near water?

Does it do this regardless of where thrown?

When I released this update it was working fine for me, so any info you can provide about when this happens will help me narrow down the issue.

Thanks.

ZEODE

Posted

On 4/16/2022 at 10:41 AM, TwoShoes said:

When throwing a nade nothing happens and I get this in console
Yes you can spawn a nade just fine. It's when you throw it, and the boom nothing happends, and this pops in console: 

Failed to run a 0.20 timer in 'NPCGrenades v1.1.14' (NullReferenceException: )

at (wrapper managed-to-native) UnityEngine.CapsuleCollider.get_radius(UnityEngine.CapsuleCollider)

at BasePlayer.WaterFactor () [0x0003c] in <731015b6ee534757b9869a7c42c4696a>:0

at Oxide.Plugins.NPCGrenades.SpawnAborted (BasePlayer player, BaseEntity npc, Item npcNade, UnityEngine.Vector3 position, System.UInt64 npcId) [0x00021] in <93ec8fa8d6cd473abf53b27955293582>:0

at Oxide.Plugins.NPCGrenades+<SpawnScientist>c__AnonStorey2.<>m__0 () [0x00011] in <93ec8fa8d6cd473abf53b27955293582>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

Hi, I am still unable to reproduce this. Can you please provide more details on how and when this happens and with what grenade types etc.

TwoShoes

Posted

Sorry I should have been more specific, the juggernaut nade does this   

ZEODE

Posted

7 hours ago, TwoShoes said:

Sorry I should have been more specific, the juggernaut nade does this   

Ah ok, the only one I didn’t test 😂 I will check it out when I’m back at the PC tomorrow. I’m working a couple of days now. Thanks for clarifying.

  • Like 1
ZEODE

Posted (edited)

Looking into it.

Edited by ZEODE
  • Like 1
ZEODE

Posted

Changed Status from Pending to Can't Reproduce

Changed Fixed In from Next Version to 1.1.14

ZEODE

Posted

Sorry, I cannot reproduce this error. Try unloading the plugin, delete the data file then reload and see if it still occurs.

 

Thanks.

TwoShoes

Posted (edited)

OK I wiped the whole plugin, and reinstalled once thown, the nade explodes, you see the npc for 1 second and this pops in concole.. I also added a video of what you see below 
 

(02:23:50) | [NPC Grenades] Player TwoShoes received a Juggernaut Grenade!
(02:24:08) | assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (1519.4, 29.3, -1819.3) on area: Walkable
(02:24:08) | Failed to run a 0.20 timer in 'NPCGrenades v1.1.14' (NullReferenceException: )
  at (wrapper managed-to-native) UnityEngine.CapsuleCollider.get_radius(UnityEngine.CapsuleCollider)
  at BasePlayer.WaterFactor () [0x0003c] in <731015b6ee534757b9869a7c42c4696a>:0 
  at Oxide.Plugins.NPCGrenades.SpawnAborted (BasePlayer player, BaseEntity npc, Item npcNade, UnityEngine.Vector3 position, System.UInt64 npcId) [0x00021] in <d61bace230c2410f82907dbd0c53d5d4>:0 
  at Oxide.Plugins.NPCGrenades+<SpawnScientist>c__AnonStorey2.<>m__0 () [0x00011] in <d61bace230c2410f82907dbd0c53d5d4>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

Heres the video  link https://medal.tv/games/rust/clips/ivS6KRX9hlDy3/d1337ZstzH7l?invite=cr-MSxockEsMTc0NDkzMjks

OK I just checked this is for all nades not just that one

Edited by TwoShoes
because I suck at grammor
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.