This post has been republished via RSS; it originally appeared at: Windows Dev AppConsult articles.First published on MSDN on Nov 08, 2018
Debugging Unity projects with a .NET backend is rather easy. Unfortunately, it's deprecated at will go away and some point in the future.
Then there is IL2CPP. It's considerably faster and even build times seems to be quicker to me. However, debugging was not possible or only became available for the player.
That is, until 2018.2.x.
But let's start from scratch.
Set up your Unity project build settings and enable
Wait for managed debugger
- Build in Unity, open the solution in a VS.NET instance and deploy it to a remote device
The build and deploy takes considerably longer and once deployed you're asked to attach the debugger
Open a new VS.NET instance from Unity and select
Attach Unity Debuggerfrom the drop down
You should be prompted with a window that allows you to select the lens. (It should also work when the lens is attached via USB, but you might need to enable inbound UDP communication for