Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthrough
ChangesWindows listener configuration
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This PR stops the Windows stdio bridge listener socket from being inherited by child processes launched from the Editor:
|
Description
Prevent the Windows stdio bridge listener socket from being inherited by child processes launched from the Unity Editor. This avoids stale listeners remaining alive in processes such as VS Code after a domain reload or Editor shutdown, which previously forced the bridge to fall back from port 6400 to 6401.
Type of Change
Changes Made
Compatibility / Package Source
Testing/Screenshots/Recordings
Runtime regression in MyGame:
Documentation Updates
No tool or resource surface changed.
Related Issues
None.
Additional Notes
The failure was caused by Windows socket-handle inheritance, not by the stdio server process itself. Clearing the inheritance bit immediately after socket creation prevents child processes from retaining the listener through Editor teardown.
Summary by CodeRabbit
Bug Fixes
Tests