I’ve recently switched to the
Visual Studio 2019 (previously 2017) along with
Unity 2019.1.3f1 (previously ~2019.1.0 something), with new
Tools for Unity in Visual Studio and I have stumbled upon a problem.
When I am debugging, I can’t see the variable from my Singleton class (e.g.,
GameManager.Instance.Var, Instance is public static). If I try to see it through Immediate Window it gives me this:
The identifier 'GameManager' is not in the scope
Hovering over any part of it (GameManager, Instance, Var) doesn’t give any info at all, CodeLens is not working with it.
It sucks, because now I can’t debug properly, only
Help! What can I do? It seems that I can’t find any similar issues.
Here’s a pic of my settings for
Tools for Unity: