

This includes standalone players such as the Windows or OSX player, followed by remote players, such as mobile devices or consoles. Rider will then list all other players for the current project. This is useful for debugging features that Unity runs out of process, such as asset import workers for the new DOTS system. Rider will also list any helper processes created by the Unity editor, shown as a child of the main Unity editor process. You can attach the debugger to the editor from this dialog, or you can use the Attach to Unity Editor run configuration and just click the Debug button in the main toolbar. Rider will list all editor processes, grouped by project when possible, with the current project shown at the top of the list. Let’s take a look at what Rider is going to show you.

Looking back at the screenshot of the dialog, you can see that there can be quite a few different processes listed. This dialog has had a little polish in this release, and now groups the players by project, with the currently open project at the top of the list. This will open the Attach to Unity Process dialog, which lists the available processes to debug.

It’s nice and easy to start debugging a player, simply use the Attach to Unity Process action, available in the Run menu, or in the drop down menu when you click the Unity logo in the main toolbar. It also introduces USB debugging for Apple devices. Rider has always supported debugging players, such as standalone desktop apps, mobile devices and consoles, but this release sees a number of new features, a bit of polish and a couple of bug fixes to make it even better. We’ll follow up with another post looking at how Rider improves the default display of values while debugging, and then we’ll have a couple more posts detailing Rider’s Burst analysis, and then take a dive into, wait for it, shader support! We’ll stick with debugging for now, and in this post we’ll see how you can use Rider to debug your game on mobile devices and consoles such as iPhone, Android, Xbox and PlayStation. Let’s continue looking at how Rider can help with your Unity application. We’ve already seen how “pausepoints” can help you debug your code, by switching the Unity editor into pause mode when your code hits a certain point. Rider 2020.2 is a bumper release for Unity.
