Unable to connect Debugger to Unity Player

Answered

I have no problems debugging with the debugger attached to the Unity Editor, but I have recently run into an issue that appears to only happen in my builds.I am completely unable to connect to a running player.

When I use "Run->Attach to Unity Process..." The only process listed is the Editor, and not the player.

What am I misunderstanding?

8 comments
Comment actions Permalink

Experiencing the same.  Unity 2019.2.2f1 and Rider 2019.2.2 x64

0
Comment actions Permalink

Hello Sam,

Could you please specify what OS are you using? Please make sure you have no pending updates or reboot, as we have encountered similar cases where it seems to be causing the issue. If the issue persists, then I would appreciate you collecting the logs with Trace scenario for Debug(Help | Enable Trace scenario | Debug), reproducing the issue and Help | Compress logs for further investigation. Please attach the logs here or create a new issue on YT: https://youtrack.jetbrains.com/newIssue and attach logs to it. Thank you in advance!

0
Comment actions Permalink

Windows 10.  No pending updates or reboot.

0
Comment actions Permalink

Hello Sam,

Thank you for keeping me posted. As mentioned previously, we will need to investigate the diagnostics information for further suggestions. Please use the instruction above for collecting the logs. Thank you in advance!

0
Comment actions Permalink

Having exactly the same problem - just recently upgraded to 2019.2.3 - previously it was working just fine (2019.1.?)

0
Comment actions Permalink

Hello David,

We have discovered an issue with attaching to Unity Player: RIDER-34039, the fix for it will be added to the future version.

0
Comment actions Permalink

This bug has been hampering development now for over a month - I cannot debug my Unity OSX apps - I am forced to use visual studio - when will this be fixed? Will you issue an early patch? As an interim measure how can I revert to the earlier, working version of Rider?

0
Comment actions Permalink

Hello David,

As it is mentioned in the issue, fix is added to Rider 19.3 EAP 3, could you please clarify if you have tried the latest EAP and if the issue persists?

0

Please sign in to leave a comment.