We're running into an issue where the CombatantAI is using an huge amount of resources; but... there isn't any ORK AI being used (it's all our own custom stuff), just a combatant component.
Any ideas why this might be happening? (And the GC usage as well!)
In a real time setup you should use the combatant's AI timeout setting to keep it idle for some time - or use the AI Decision Time in your battle system.
If the combatant's actions aren't animated, it'll pretty much constantly use actions, creating a huge demand on resources. And if the combatant shouldn't do anything, block the AI as you did :)
Post edited by gamingislove on
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Enabled this block, and all the overhead seems to have disappeared.
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
If the combatant's actions aren't animated, it'll pretty much constantly use actions, creating a huge demand on resources. And if the combatant shouldn't do anything, block the AI as you did :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!