Hi,
I created a Move AI/Battle AI for an enemy and it works well until today... When I try to run the game, Unity stops responding/freeze, and task manager shows memory usage increasing. The only way to abort is to kill Unity through task manager. Unity enters Play Mode as expected when the enemy spawn point is disabled. Is there a way that I have some sort of infinity loop inside Makinom? It works very well yesterday and I added nothing to the enemy prefab.
Regards,
Sylwester
Might be the combatant using actions without any wait between, e.g. in a real time battle system without animated actions (via schematics) and no timeout between actions.
Otherwise, there are multiple places where you could set up such a loop, e.g. in formulas, battle AI or schematics.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
This is my schematic for enemy's attack (everything is "wait between" checked):
And I have this in Battle AI:
As I mention before, it works perfectly fine until today and I didn't change anything, just wanted to hit "Play" and checked if everything still works.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!