I put him inside my game succesfully, but switching items on Mouse Scroll is only working on demo. When i try to do it i get error "
NullReferenceException: Object reference not set to an instance of an object
EvolveGames.ItemChange.FixedUpdate () (at Assets/EvolveGames/RealisticFPSController/Scripts/ItemChange.cs:104)"
I was trying to change something but i didn’t do nothing actually. I have problem with line 104, on line 104 staying this
This is what staying in script documentation my friend… “You drag the Payer Controller to the scene and you’re done”… When i start demo its working, when i drag and drop it to my scene scrolling items is not working…
And i know that i need to identify what is null, why is null and because i cant fix it easy like that i send this tread here for help…
Edit: i have found in console first error that is triggering other 104 line… it say this "
NullReferenceException: Object reference not set to an instance of an object
EvolveGames.ItemChange.Start () (at Assets/EvolveGames/RealisticFPSController/Scripts/ItemChange.cs:25)
"
and this is that line "
Color OpacityColor = ItemCanvasLogo.color;
"
Unfortunately the computer REQUIRES you to fix that error, and unfortunately YOU are the only person on this green earth who can fix that error.
Go back to the three steps, they won’t change, and they are the ONLY three steps that will solve this problem. That’s not my doing, that’s not ANYBODY bringing you down, that is how computers work.
If any of that is mysterious than go straight to any one of ten billion C# programming tutorials on how to fix the problem. But the above three steps and link help is very specific to Unity, especially the parts about step #2.
I would really someday love to know exactly which parts of the first step you are struggling with.
The first step is Identify what is null. I assume you are stuck on this first step?
What part of the suggestions in the links above has got you stumped? Here’s the text:
Could you please put a giant red mark on the part you are struggling with below because I just cannot imagine what is going wrong here… this is just such unbelievably simple stuff!!!
Now I wonder, if it says ‘join this discord’ and you have access to customer support, why do you feel anyone else is obliged to fix someone’s assets? We don’t work for Unity (if even Unity had anything to do with 3rd party assets), nor we can possibly know all the assets on the asset store.
Kurt’s answer is the only way to rationally respond to your request. We’re not omniscient let alone idle.
make sure the inspector has everything set the same as your demo had.
Good luck on it Gordon. You’ll probably have to learn a lot. But the fact you are going for a Gordon Freeman protagonist you should keep at it it will become less frustrating as you go.