pardeike / pardeike/RimBridgeServer
[search_debug_actions] long-running queries block the game's main thread
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 34
- Forks
- 8
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
rimworld/search_debug_actionsblocks the game's main thread for a long time when searching with broad keywords (e.g. Recalculate), which causes:
- Game freeze/hang: animation and input become unresponsive, frame rate collapses, and system-level AppHang detection can be triggered;
- MCP-side request timeout at 30s (
tools/calltimeout of 30000ms), leaving the tool call stuck; - 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the rimworld/search_debug_actions entry point and read the attached issue-search-debug-actions.en.md document for the proposed direction. Reproduce a broad search such as Recalculate, then verify that the game remains responsive, the MCP call does not hit its 30-second timeout, and other main-thread debug features remain usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100