Can't see fields and frames while debugging a Unity project. (Breakpoints somehow work though.)
For the past two days I've been trying to get Rider to display values and frames while debugging a Unity project. It attaches successfully. I can use breakpoints and pausepoints but the variable and frame panels are a no go as you can see in the images.
I've tried fiddling with the debugger settings both in Unity and Rider. I've changed Unity versions new and old. Upgraded to 2022.3.36f1 and downgraded to 2021.3.40f1 but nothing changed. There was an older version of the Rider plugin included with 2021.3.40f1 but it didn't fare any better. So in the end I'm compeletely and utterly clueless.
The only idea I have left is removing and installing Rider as changing Unity versions didn't help.
There is one more thing tho. The debug console seems to be throwing PDB not found warnings with some Unity and System packages. I've tried adding the Unity Symbols Server as an external source but that wasn't effective. Has anyone here experienced something similiar to this one before and can anyone help me fix it?
Please sign in to leave a comment.
Have a try to open the Unity solution from Rider directly and build the project in Rider, then try with disabling all downloaded plugins to see if there is any improvement.
Also, have a try to regenerate the solution files in Unity:
If the issue is still there, in Help | Diagnostic Tools | Choose Trace Scenarios, enable the following log providers.
Then reproduce the issue and collect the full log bundle, I will help to investigate it further. Please upload the file to our server and share the ID.