Reproduction steps:
1. Open the attached “IN-134337” project
2. Open the Build Profiles window (File > Build Profiles)
3. Switch the active platform to “Linux Server”
4. Build the Project
5. Run the built Player through a terminal
6. Open the “Scenes/SampleScene” Scene
7. Enter the Play Mode
8. Select the “Client” GameObject in the Hierarchy window
9. Enable and disable the “Transport Bug Repro” Script component
10. Observe the terminal
11. Repeat steps 9-10
Actual result: Server keeps running
Expected result: Server crashes
Reproducible with: 6000.0.68f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Couldn’t test with: 2023.1.0a2
Reproducible on: Ubuntu 24.04, WSL (user)
Not reproducible on: No other environments tested
Notes:
- Issue does not reproduce when using Mono
- Player does not output any stack trace
- Sometimes it takes a while for the server to crash, but in some instances just after few tries