Problem: All values are still 0 for Slot Indexes
If the values are 0 in the inspector when the game isn’t running, but update once the game runs, it is working as intended, since the functions that update the slot indexes only work at runtime.
Check that you have assigned the right toolSlots and itemSlots values in the inspector of UIManager. Make sure that the AssignSlotIndexes() function in UIManager is correct as well.