Skip to content

[search_debug_actions] long-running queries block the game's main thread #6

Description

@Timer80

rimworld/search_debug_actionsblocks the game's main thread for a long time when searching with broad keywords (e.g. Recalculate), which causes:

  1. Game freeze/hang: animation and input become unresponsive, frame rate collapses, and system-level AppHang detection can be triggered;
  2. MCP-side request timeout at 30s (tools/call timeout of 30000ms), leaving the tool call stuck;
  3. Other main-thread-based debug features in-game (UnityExplorer, debug menu, etc.) are likewise unavailable during the search.

I have tried writing a similar solution (reinventing the wheel), which solved this problem to some extent. Here is a document for your reference.
issue-search-debug-actions.en.md

If the fix is done, please submit an issue to (https://github.com/Timer80/UESDdebuger-RimworldAutoAICodingDebuger), and I will directly move this feature to rimbridgeserver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions