Hello. I am experiencing a possible compatibility issue between AnimalLevels and Rust’s Gen2 animal AI, and I would like to ask whether the plugin could be involved.
Some wolves, panthers, and tigers on my server show the following behaviour:
While alive, they remain standing in one place.
They do not move, target, or attack players.
After being killed, they remain standing upright.
Their health reaches zero, but no normal harvestable corpse is created.
The server console continuously prints this error:
Server Exception: FSMComponent.BudgetedUpdate
NullReferenceException
Rust.Ai.Gen2.SenseComponent.InSameTeam
Rust.Ai.Gen2.SenseComponent.Tick
Rust.Ai.Gen2.FSMComponent+TickFSMWorkQueue.RunJob
The issue occurs both with plugin-generated or mutated animals and with naturally spawned wild wolves and panthers.
I reviewed the plugin code and noticed that it processes all BaseAnimalNPC and BaseNPC2 animals. It also uses reflection to modify attack states inside FSMComponent and private speed fields inside LimitedTurnNavAgent. I am concerned that these Gen2 AI internals may have changed after recent Rust updates.
Have you received any similar reports from other users? Is the current plugin version fully compatible with the latest Rust Gen2 animal AI?
The areas I suspect are:
modifying FSMComponent attack states
modifying private LimitedTurnNavAgent speed fields
OnEntitySpawned(BaseNPC2)
transferring mutation components from the animal to the corpse after death
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.
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.