Skip to content

Access Violation when bots added very quickly via manager #55

Open

Description

@BigOlMate

Describe the bug
On my system an Access Violation is triggered reliably when bots are added very quickly.

To Reproduce

Set

bot_manager_max 16
bot_manager_target 16
bot_manager_enabled 1

for N values somewhere in the range of 8-16.

Expected behavior

It should not crash

Version

Tried on the version in thunderstore, also built from master.

Additional context

Crash does not appear to be triggered when manually adding bots via bot_spawn

I believe this relates to the speed at which the bots are being added, will do some more testing and see if I can provide a fix.

Activity

  1. catornot commented on Jun 22, 2026

    @catornot
    Owner

    this is a known issue and there was even a pr to attempt to fix it but it didn't do much unfortunately. the bot manager is called simple bot manager internally for a good reason, it's way too simple to handle this.

    tldr it needs a rewrite. it will get done eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions