Hiding a slot in the inventory grid causes an error

Sorry for the delay.

To change how many slots are shown you must used these fields here:
1693231377783.png

Here I've set it so that it only shows 12 slots.
In the editor you see this
1693231416702.png

and at runtime you see this:
1693231485908.png


I've added a feature scene so that it is easier to play around with it. I hope that helps

In the code I made some changes to prevent the errors from happening, instead you'll get warnings
 
Top