What's Changed
- Automated monthly update of gamecontrollerdb.txt
- Resolved an issue where spawning or removing GameObjects during the SpawnArea update loop was not possible.
SpawnArea & GameObject Changes
Previously, modifying the collection of managed GameObjects within a SpawnArea during its own update loop would cause issues. To fix this, SpawnArea now uses internal deferred queues (addition and removal queues) that are active during the update loop. Any additions or removals requested during this phase are safely queued and processed afterward; otherwise, the operations execute immediately as before.
Additionally, added a safety lock to GameObject.Layer. A GameObject's layer can no longer be modified while it is managed by a SpawnArea, preventing potential leaks and state inconsistency.
Full Changelog: v5.2.0...v5.3.0