Im not sure why but after adding the Instance = this; part of the tutorial i get a lot of debug errors saying Object reference not set to an instance of an object, all relating to instances of the playerControls variables across several classes. I assume VSC is agnostic to the hierarchy structure for the scripts’ location so that isnt the cause (also because it’s run before with the folder ‘tidy up’ having moved scripts around), but also seems coincidental after adding in the self referencing of the Instance object to ‘this’.
Errors:
PlayerController class:
As you can see the playerControls is being instantiated but i feel maybe this is a red herring debug error and the problem lies elsewhere …
Any help appreciated