Method AcquireMonster
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
AcquireMonster(params string[])
Makes sure a monster prefab is resident before something reads it synchronously.
SpawnMonster(string, int, MonsterRank, float) resolves through MonsterPool.TryGetMonsterPrefab, which by design
loads nothing — so a monster no test had touched yet made the spawn assert fail claiming the monster was
"not found in content", when the definition was in the index the whole time
(measured 2026-09-19: CombatTests.KillZombie, MaterializerHydrationTests and ContentHotReloadTests all
failed on 'Zombie' / 'Zombie Shepherd' for exactly that reason). Requesting through
RequestMonsterPrefab and waiting is the path a real spawner takes.
protected IEnumerator AcquireMonster(params string[] monsterNames)
Parameters
monsterNamesstring[]