accessed none trying to read property

So I’m trying to implement an inventory, for that I followed a video walkthrough on youtube, but every time I try to add an item to the inventory, this problem appears,

clicking to see takes me to this node

that I tried to see ways to fix this , but I didn’t find anything

It says variable InventarioWG is empty (NULL)…check if you defined that variable somewhere.

If you create a variable of a class in a blueprint. That is not enough to access the variable…you must put something on it or you will get that error. Variables for objects are just pointers (the address of an instance)…so you must fill it with a valid address (set)

1 Like