NullReference error for InveintoryUI.cs

Was playing with the resource folder and now I am getting the below error. I have referenced everything that needs to be referenced

NullReferenceException: Object reference not set to an instance of an object
GameDevTV.UI.Inventories.InventoryUI.Awake () (at Assets/GameAssests/UI/Scripts/InventoryUI.cs:25)

1 Like

Can you copy paste your InventoryUI script, it seems you are getting an error on line 25 on this script

nope still not working

1 Like

fixed , the player tag was incorrect

1 Like

Haha, the rejection! I am happy you got your issue fixed!

Happens more often than you might think. Good job getting that sorted!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms