Jump to content

Npc Spawn 3.4.8

   (20 reviews)
Message added by KpucTaJl,

This plugin does not have its own functionality. This plugin is only used as an API for other plugins

1 Screenshot

  • 395.9k
  • 80k
  • 2.25 MB
  • Update details
    v3.4.8
    Released
    Download size 2.25 MB
    Total versions 78
    Typical update pace About every 4 days
    Freshness Updated 7 days ago

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Friedl

Posted (edited)

Moved to the support section.

 

Edited by Friedl
  • Like 1
aimacak

Posted (edited)

@coldasice
Hello, may I ask what’s wrong with the plugin?
Facepunch indicated in the hotfix today that they enabled the new navmesh by default, so many plugins broke. KpucTaJI released updates quite quickly.

image.png.5e9169bb8be1110a79bf75e948ece1dc.png

Edited by aimacak
BigBadKittySlayer

Posted

getting massive console spams. These are the two types that happen. I have to delete ai, etc. and reload npc spawn for it to stop: 

I have BetterNPC running, but I turned off all other events that may use NPC Spawn. I do have Raidable Bases on.

 

Server Exception: FSMComponent.BudgetedUpdate
NullReferenceException: Object reference not set to an instance of an object.
  at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.Component.get_gameObject () [0x00006] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.Component.TryGetComponent[T] (T& component) [0x00001] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at Rust.Ai.Gen2.SenseComponent.InSameTeam (BaseEntity other) [0x0000e] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.SenseComponent.Tick () [0x000e1] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.FSMComponent+TickFSMWorkQueue.RunJob (Rust.Ai.Gen2.FSMComponent component) [0x00019] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at PersistentObjectWorkQueue`1[T].RunList (System.Double maximumMilliseconds) [0x000e2] in <6ee04996b0054ecc84ea5fdda86ca2fe>:0 
  at ServerMgr.Update () [0x00812] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
ServerMgr:Update()
[2026.08.18 15:59:14] [ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object.)
  at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at UnityEngine.Component.GetComponentFastPath (System.Type type, System.IntPtr oneFurtherThanResultValue) (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at UnityEngine.Component.GetComponent[T] () (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at Rust.Ai.Gen2.SenseComponent.InSameTeam (BaseEntity other) (at <010595c14c5944699d0962442bdb66da>:0)
  at Rust.Ai.Gen2.SenseComponent.Tick () (at <010595c14c5944699d0962442bdb66da>:0)
  at Rust.Ai.Gen2.FSMComponent+TickFSMWorkQueue.RunJob (Rust.Ai.Gen2.FSMComponent component) (at <010595c14c5944699d0962442bdb66da>:0)
  at PersistentObjectWorkQueue`1[T].RunList (System.Double maximumMilliseconds) (at <1de78670e1f94545b77fbdaddfb9e952>:0)
  at ServerMgr.Update () (at <010595c14c5944699d0962442bdb66da>:0)
  at UnityEngine.Debug:LogException(Exception, Object)
  at ServerMgr:Update()

 

pagan

Posted

Updating True PVE and MyAnimalFarm helped me.

  • Like 1
illknown

Posted

11 hours ago, BigBadKittySlayer said:

getting massive console spams. These are the two types that happen. I have to delete ai, etc. and reload npc spawn for it to stop: 

I have BetterNPC running, but I turned off all other events that may use NPC Spawn. I do have Raidable Bases on.

 

Server Exception: FSMComponent.BudgetedUpdate
NullReferenceException: Object reference not set to an instance of an object.
  at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.Component.get_gameObject () [0x00006] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.Component.TryGetComponent[T] (T& component) [0x00001] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at Rust.Ai.Gen2.SenseComponent.InSameTeam (BaseEntity other) [0x0000e] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.SenseComponent.Tick () [0x000e1] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.FSMComponent+TickFSMWorkQueue.RunJob (Rust.Ai.Gen2.FSMComponent component) [0x00019] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at PersistentObjectWorkQueue`1[T].RunList (System.Double maximumMilliseconds) [0x000e2] in <6ee04996b0054ecc84ea5fdda86ca2fe>:0 
  at ServerMgr.Update () [0x00812] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
ServerMgr:Update()
[2026.08.18 15:59:14] [ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object.)
  at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at UnityEngine.Component.GetComponentFastPath (System.Type type, System.IntPtr oneFurtherThanResultValue) (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at UnityEngine.Component.GetComponent[T] () (at <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0)
  at Rust.Ai.Gen2.SenseComponent.InSameTeam (BaseEntity other) (at <010595c14c5944699d0962442bdb66da>:0)
  at Rust.Ai.Gen2.SenseComponent.Tick () (at <010595c14c5944699d0962442bdb66da>:0)
  at Rust.Ai.Gen2.FSMComponent+TickFSMWorkQueue.RunJob (Rust.Ai.Gen2.FSMComponent component) (at <010595c14c5944699d0962442bdb66da>:0)
  at PersistentObjectWorkQueue`1[T].RunList (System.Double maximumMilliseconds) (at <1de78670e1f94545b77fbdaddfb9e952>:0)
  at ServerMgr.Update () (at <010595c14c5944699d0962442bdb66da>:0)
  at UnityEngine.Debug:LogException(Exception, Object)
  at ServerMgr:Update()

 

do you use animal spawn as it could be that

- this error is to do with the new ai - theres an npc trying to call a team check with another npc that doesnt exist - 

 

  • Like 2
BigBadKittySlayer

Posted

2 hours ago, illknown said:

do you use animal spawn as it could be that

- this error is to do with the new ai - theres an npc trying to call a team check with another npc that doesnt exist - 

 

Let me check that out. I do use animal spawn because supermarket event plugin has it as a dependency. I'll remove both and then see if that cleans it up. It seems to happen more when I have Raidabe Bases on as well. Even after I unload Raidable Bases I have to unload NPC Spawn, purge all the ai, then reload NPC Spawn to hopefully stop the spam. Thanks for the feedback though, I'll go ahead and try it out.

aimacak

Posted

2 hours ago, BigBadKittySlayer said:

Let me check that out. I do use animal spawn because supermarket event plugin has it as a dependency. I'll remove both and then see if that cleans it up. It seems to happen more when I have Raidabe Bases on as well. Even after I unload Raidable Bases I have to unload NPC Spawn, purge all the ai, then reload NPC Spawn to hopefully stop the spam. Thanks for the feedback though, I'll go ahead and try it out.

I apologize for the long answer, did I understand correctly that spam stops after the NpcSpawn is unloaded?
Can you add me to discord ( @shrpndfcsd) or create a ticket on the MadMappers server?

Stormo

Posted

After killing the boss with rockets, these messages started appearing in the console. The explosions never stop, and the FPS near the explosion area drops to around 3 FPS.

Does anyone know how to fix this? When I reload NpcSpawn, everything goes quiet for a few seconds, but then it starts happening again.

NullReferenceException: Object reference not set to an instance of an object
  at Rust.Ai.Gen2.BasicAnimalFsm.Hurt (HitInfo hitInfo) [0x00014] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.Hurt (HitInfo info) [0x00155] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.Hurt (HitInfo info) [0x00016] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.OnAttacked (HitInfo info) [0x00067] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.OnAttacked (HitInfo info) [0x00000] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at DamageUtil.RadiusDamage (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight, System.Boolean ignoreAI, System.Boolean ignoreAttackingPlayer, System.Boolean extendedLineOfSight, System.Collections.Generic.List`1[T] playerDamage, System.Boolean removeWallpaper, System.Boolean includeBoatBuildingPieces, BaseEntity ignoreEntity) [0x002b4] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode (UnityEngine.Vector3 explosionFxPos) [0x004be] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode () [0x00007] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.ProjectileImpact (UnityEngine.RaycastHit info, UnityEngine.Vector3 rayOrigin) [0x00012] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.ProcessHit (UnityEngine.RaycastHit hitInfo, BaseEntity hitEnt, UnityEngine.Vector3 rayOrigin) [0x00047] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoHitDetection (UnityEngine.Vector3 velocityToUse, System.Single distance) [0x0008c] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoMovement () [0x0004b] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.FixedUpdate () [0x00028] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 

 

illknown

Posted (edited)

20 minutes ago, Stormo said:

After killing the boss with rockets, these messages started appearing in the console. The explosions never stop, and the FPS near the explosion area drops to around 3 FPS.

Does anyone know how to fix this? When I reload NpcSpawn, everything goes quiet for a few seconds, but then it starts happening again.

NullReferenceException: Object reference not set to an instance of an object
  at Rust.Ai.Gen2.BasicAnimalFsm.Hurt (HitInfo hitInfo) [0x00014] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.Hurt (HitInfo info) [0x00155] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.Hurt (HitInfo info) [0x00016] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.OnAttacked (HitInfo info) [0x00067] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.OnAttacked (HitInfo info) [0x00000] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at DamageUtil.RadiusDamage (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight, System.Boolean ignoreAI, System.Boolean ignoreAttackingPlayer, System.Boolean extendedLineOfSight, System.Collections.Generic.List`1[T] playerDamage, System.Boolean removeWallpaper, System.Boolean includeBoatBuildingPieces, BaseEntity ignoreEntity) [0x002b4] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode (UnityEngine.Vector3 explosionFxPos) [0x004be] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode () [0x00007] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.ProjectileImpact (UnityEngine.RaycastHit info, UnityEngine.Vector3 rayOrigin) [0x00012] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.ProcessHit (UnityEngine.RaycastHit hitInfo, BaseEntity hitEnt, UnityEngine.Vector3 rayOrigin) [0x00047] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoHitDetection (UnityEngine.Vector3 velocityToUse, System.Single distance) [0x0008c] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoMovement () [0x0004b] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.FixedUpdate () [0x00028] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 

 

have you got the latest rust update from yesterday or day before installed ? looks like its to do with that

 

If you share your NpcSpawn version and the name/version of the boss plugin, I can help narrow down the appropriate fix.

 

 

Edited by illknown
Stormo

Posted

1 minute ago, illknown said:

have you got the latest rust update from yesterday or day before installed ? looks like its to do with that

 

Yes, the latest server updates were installed.

The first time players reported this issue to me was on the evening of October 2, 2026. Before that, I had never experienced this problem.

aimacak

Posted

29 minutes ago, Stormo said:

After killing the boss with rockets, these messages started appearing in the console. The explosions never stop, and the FPS near the explosion area drops to around 3 FPS.

Does anyone know how to fix this? When I reload NpcSpawn, everything goes quiet for a few seconds, but then it starts happening again.

NullReferenceException: Object reference not set to an instance of an object
  at Rust.Ai.Gen2.BasicAnimalFsm.Hurt (HitInfo hitInfo) [0x00014] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.Hurt (HitInfo info) [0x00155] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.Hurt (HitInfo info) [0x00016] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at BaseCombatEntity.OnAttacked (HitInfo info) [0x00067] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at Rust.Ai.Gen2.BaseNPC2.OnAttacked (HitInfo info) [0x00000] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at DamageUtil.RadiusDamage (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight, System.Boolean ignoreAI, System.Boolean ignoreAttackingPlayer, System.Boolean extendedLineOfSight, System.Collections.Generic.List`1[T] playerDamage, System.Boolean removeWallpaper, System.Boolean includeBoatBuildingPieces, BaseEntity ignoreEntity) [0x002b4] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode (UnityEngine.Vector3 explosionFxPos) [0x004be] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.Explode () [0x00007] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at TimedExplosive.ProjectileImpact (UnityEngine.RaycastHit info, UnityEngine.Vector3 rayOrigin) [0x00012] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.ProcessHit (UnityEngine.RaycastHit hitInfo, BaseEntity hitEnt, UnityEngine.Vector3 rayOrigin) [0x00047] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoHitDetection (UnityEngine.Vector3 velocityToUse, System.Single distance) [0x0008c] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.DoMovement () [0x0004b] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 
  at ServerProjectile.FixedUpdate () [0x00028] in <5c6eb1c7ffa24b1ea2180a66bcc56f9e>:0 

 

The error you indicated is most likely about animals, and at the moment BossMonster cannot spawn animals and is waiting for an update to do so.
The new animals are also of the BaseNPC2 type, so don't let that bother you.
Do you know how I can repeat this situation on my server?

illknown

Posted

1 hour ago, Stormo said:

Yes, the latest server updates were installed.

The first time players reported this issue to me was on the evening of October 2, 2026. Before that, I had never experienced this problem.

yes it could be outdated then - The latest Rust server patch I could verify was hotfix #3, released Friday 2 October 2026  maybe just check coz if i replicated it with the version before this hotfix

 

illknown

Posted

more likely the animals tho if there enabled

 

Ram58

Posted

что наделали с плагином все пресеты стали от тяжелых нпс с хорошим лутом

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 26
  • Love 13

User Feedback

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
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
172.8k
Total sales
Payments
3.8m
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.