Need help for inventory or UI

godot version 4.4

I’m having an issue with my inventory system in Godot.
The item icons (like potions) aren’t showing up inside the inventory slots, even though the data and file paths are correct. The item names and quantities display correctly, but the textures don’t appear.

I’ve double-checked the icon paths (e.g. res://icons/Big Vial - BLUE - 0000.png), and they load fine in the editor. I also made sure that the TextureRect in each slot is visible, uses Keep Aspect Centered, and has Expand enabled.

I suspect the problem might be with the slot.gd or how the slots are connected/instantiated in the inventory scene. Maybe the icons aren’t being assigned properly or the slot panel’s size/anchors are collapsing.

If anyone has run into this before or has suggestions on what could cause icons to fail to render in a GridContainer inventory layout, I’d really appreciate your help. let me know if anybody have a question. all code in this website

Have you imported all the icons? Otherwise ResourceLoader can’t handle them.