Repeatedly calling _x setUnitLoadout typeOf _x for some unit causes unbounded JIP queue growth. Eventually, players cannot JIP because queue too long. The JIP queue should not grow unbounded.
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- 10.0.19041 Build 19041
- Category
- Performance
Steps To Reproduce
Create new mission in 3den. Place unit for player. Place AI unit with variable name "foo" and the following init code:
[] spawn { waitUntil { time > 0 }; while {true} do { foo setUnitLoadout typeOf foo; } }
Play mission as player. Repeatedly run "#exportJIPqueue" server command. Observe unbounded JIP queue growth.
Additional Information
See attached vanilla (no mods) repro mission on VR map. See attached JIP queue export logs, one near mission start and one after a few seconds.