Skip to content
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

Open
tylerfan opened this issue Mar 14, 2024 · 3 comments
Open

remote debugging on linux is not working #2434

tylerfan opened this issue Mar 14, 2024 · 3 comments

Comments

@tylerfan
Copy link

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?

@citizenmatt
Copy link
Member

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?

@tylerfan
Copy link
Author

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.

@tylerfan
Copy link
Author

tylerfan commented Mar 14, 2024

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.
it is weird that the latest rider has a another attach to process window which has 'local' 'remote' 'docker' tab. If i connect to the host with port 22, it could pass the connection test, but no process is shown. If I ask for port given by the unity process, the connection will get stuck, and won't pass a connection test.
it also doesn't let me delete the configurations or update the previous configurations since the port number of the unity app changes everytime and i am basically increasing the list of configurations indefinitely there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants