Did you check what was on GameHUD.js line 40 that was looking for the null object, and make sure it’s being instantiated correctly? Null Refs are usually caused by something simple.
Probably playerInfo is not instantiated or GetRemainingItems() is trying to access a null object. I haven’t done the tutorial, so I don’t know its inner workings.
If you’re not comfortable finding Null Refs, maybe you should try an easier tutorial than the 3D platformer to get comfortable first.
I did the 2D tutorial, no problem. The First person tutorial, had way too many issues with the code. Struggling to get this working at this point. Even the 3D Platformer, had many issues, but I was able to solve many of them.
If any body has done these tutorials and solved this issue, your help is appreciated.
As I recall when the 3D platformer tutorial was under development, Sean said that the intention was for the user to go through the entire tutorial and complete a fair number of scripting and IDE configuration tasks to make it work. It doesn’t just work to build it out of the box.
That means that the code isn’t necessarily just plug and play without working through the tutorial to a significant extent.
@Mitendrius: can you post the code that is causing this error and the line number quoted in the error message? This is a very general kind of error and the solution depends on the code you are using.