-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote debugging on linux is not working #2434
Comments
It should work. To appear in the list, the player needs to be on the same subnet, and firewalls need to let UDP broadcast messages leave the device and be received by the desktop machine. But it's more concerning that you can't connect manually, using the IP address and port. This might happen if the player has not been built with script debugging enabled, but other than that, there aren't many things we can try. How did you get the IP address and port to connect to? You should be able to find it in the player's log - can you share that line, please? |
i used [SteamOS Devkit Client], and it shows the connected IP address and i could talk to steamdeck that way so the ip is definitely valid. the player is built with script debugging since i could do debugging locally with rider. |
ok i switched to latest rider in snap store and i have to specify a port number given by selecting wait for managed debugging when building unity, and now it works for manual input. |
Bumping this. |
Unity debugging is based on a UDP broadcast message that gives information about the running players. This model doesn't match or fit the main "attach to process" dialog. The remote section in that dialog is looking for dotnet processes on a remote machine, but Unity is a custom process hosting Mono, so it won't show anything. In order to debug Unity, you need to either be able to receive the UDP broadcast message which includes host and port details to connect the debugger to, or to enter the details manually, if UDP is being blocked or not reaching you (e.g. you're on a different subnet or on different sides of a router) |
i have a unity player running on another linux device(steamdeck), and i am trying to do some remote debugging on my ubuntu machine, but the device is not showing up on the process list and manually input the ip address of the steamdeck(which can be successfully ssh in) shows : " unable to connect to custom player. Please following "Debugging in Player" document.
I am wondering whether this is supported on linux?
The text was updated successfully, but these errors were encountered: