Hello! Just started the course and have successfully downloaded Unity and VS Code, but the latter is encountering an error. I’ve just started the ‘write to console’ script and upon opening VS Code spits three pop ups at me I can’t decipher… I tested the Debug.Log code anyway and it works (though it didn’t suggest the Debug line, it popped in after just typing log?) but I’m just looking for assurance that it’s not a problem at all. I included images for reference of both the three pop-ups and the output of the problems loading the WriteToConsole script if that helps.
A little update, I tried to continue with the next lesson, making the Driver script for the Delivery Dash game, but even following everything step by step, I encounter ab error about needing an object reference. I am so confused as to what has gone wrong. I checked the extensions and I have all the recommended ones downloaded, so I must be missing something else…
I encounter ab error about needing an object reference.
Since there is basically an indefinite number of potential errors, it would be great if you could share a screenshot of your console like you did before. Now I can only guess that you have got a NullReferenceException error.
NullReferenceException means that a reference (“link”) to an instance is missing. Double click on the error message to see to which line in your code it is referring. If you exposed a field in the Inspector, make sure that it’s not empty. Debug.Log might also help you identify variables whose value are null at runtime.
Thank you for the info! The developer framework plus downloading .NET through Microsoft themselves sorted all of the issues out! Thanks again for the assistance!