Linked Questions

0 votes
2 answers
8k views

Sorry if this question has already an answer somewhere, but I've just started to play with Unity and now I'm stuck. :( I've tried a few things ( from here , here and here and others ) but none of ...
Mara Black's user avatar
0 votes
1 answer
5k views

At the top of the screen : public GameObject uiSceneText; private TextMeshPro textMeshPro; Then in the script at some point : ...
Daniel Lip's user avatar
  • 1,785
-1 votes
1 answer
782 views

When I play the game it works perfectly fine but it shows an error in the console when pressing buttons but it is still working just causing a bit of lag. This is the error: NullReferenceException: ...
DeeMastah's user avatar
-1 votes
1 answer
562 views

It's exactly as the title says. I am getting a null reference error even though I have properly referenced the object. I have debugged my code to show that the result is always exactly what I need ...
Kiyo's user avatar
  • 27
1 vote
1 answer
458 views

...
Parth Pant's user avatar
-1 votes
1 answer
225 views

I'm getting error an error on this piece of code: if (EventSystem.current.IsPointerOverGameObject()) return; The error: ...
uknown's user avatar
  • 3
0 votes
2 answers
242 views

I'm making a simplified inventory system for a 3d game. When I try to pick up an object, I get the following error: NullReferenceException: Object reference not set to an instance of an object Here ...
Indiepixel's user avatar
0 votes
1 answer
188 views

So I have 3 scripts: first for my player movementscript second for my speed powerup speedscript third for my obstacle ...
INSANEPOOL's user avatar
0 votes
1 answer
143 views

I am making an infinite runner game, and I am having issues with killing and respawning the player. I have a coroutine setup on the GameMaster objec which is the respawn and on the player I have a ...
C. Smith's user avatar
1 vote
1 answer
129 views

I tried to make a game where you can destroy something when you swipe or tap. However, it says NullReferenceException & while the swipe control actually works, ...
Chan Ming's user avatar
-1 votes
1 answer
82 views

I keep getting this error: NullReferenceException: Object reference not set to an instance of an object moveBlock.Update () (at Assets/Scripts/moveBlock.cs:27) whenever I press Play in Game or when ...
mavish's user avatar
  • 151
0 votes
1 answer
88 views

I have a problem when I was trying to change a state within my character. I wrote the code below ...
Jihen007's user avatar
0 votes
1 answer
71 views

I have 3 NPCs in my "Game". When the player walks up to any of them, they're supposed to have their own dialogue; I've tested this, and they do. I tried to create a display that shows this dialogue ...
Casey's user avatar
  • 3
0 votes
0 answers
74 views

I have panel with some images and buttons. when I click on a button with "gold" name it works, and if I click on any thing other I got error //NullReferenceException: Object reference not set to an ...
user43474's user avatar
  • 547

15 30 50 per page