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

Display project name in list of debuggable Unity processes #1009

Closed
citizenmatt opened this issue Jan 25, 2019 · 4 comments
Closed

Display project name in list of debuggable Unity processes #1009

citizenmatt opened this issue Jan 25, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@citizenmatt
Copy link
Member

citizenmatt commented Jan 25, 2019

When attaching to a Unity process, the dialog will list all players found on the network, as well as any local Unity editor instances. If there is more than one instance of the editor running, it's very difficult to tell them apart - it would be very useful to list the project name next to the process name.

Unfortunately, the project name isn't easily available, and there isn't an API to fetch it. Our plugin could write the project name to a file with exe name and pid to a shared location (somewhere under the user's profile) and delete it on exit. The dialog could read this and show the project name.

And/or, we could use the currently open project's Library/ProjectInstance.json to at least mark the current project's Unity editor instance.

@van800
Copy link
Contributor

van800 commented Feb 20, 2019

Unity team mentioned that they have a related item on their backlog for 2019.3. "Add more information to the multi-cast messages for Unity."

@van800
Copy link
Contributor

van800 commented Mar 29, 2019

@citizenmatt I guess, you have some new info from Rareș about this, right?

@citizenmatt
Copy link
Member Author

Yep. Will implement today, hopefully. Although this will be Unity 2019.2 only

@citizenmatt
Copy link
Member Author

Currently, the list of debuggable process will show the project name for players built with Unity 2019.2. It doesn't yet show project name for editor instances. This will come as a separate PR, after speaking with Unity next week.

citizenmatt added a commit that referenced this issue Aug 23, 2019
Project name is found in most scenarios, except when the Unity editor is launched on Windows as standalone, rather than via Unity Hub.

Fixes #1009, fixes RIDER-31184
@citizenmatt citizenmatt added this to the Rider 2019.3 milestone Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants