I'm seeing an issue where spawning enemies causes the game to stutter significantly. I noticed there's a pooling option under Base/Control -> Game Object Pools. Does this work with combatant spawns? Is there anything that I need to do to set this up beyond defining the same prefab in the pool settings and combatant settings?

Thanks,
-Mike
  • Combatant spawns don't use pooling - that's more for stuff like spawning prefabs via schematics (e.g. particle effects and such). Combatants are a bit too complex for that and can lead to issues when pooled.

    Generally, you need to add the pools to the scenes in which you use them via the Pool component. The scene hierarchy context menu has a quick add/setup available (via Makinom > Pool).
    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!
  • Understood, thanks. -Mike
Sign In or Register to comment.