Summary
A custom Entity Prefab with an item component, mesh component, icon component, etc. is granted successfully and routes into fort_inventory_weapon_hotbar_component correctly, but its icon is never drawn in the HUD quickbar. The identical prefab, same mesh and same icon, renders correctly in a project created recently on 42.00. Nothing about the item or the code is different. Note that oicking the item up off the ground, does render the icon correctly. I even went to the extent of branching the project and deleting the entire island, all the verse and assets, to create the same set up as the newly created 42.00 blank island with the basic item granting verse, and the issue still occured, item icons were invisible in player inventory on the older project.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Open a project that was originally created several versions ago (I have no idea how old, the projects I’m working in were originally Creative 1.0, created in 2023
- Create an Entity Prefab with a mesh_component, item_component, and a icon_component.
- Grant it to a player via AddItemDistribute
- The item will not be visible
- Create a brand-new project on 42.00 and repeat steps 2-4 with an identical prefab. It will be visible
Expected Result
The granted custom item entity displays its icon in the quickbar slot it occupies, in any project.
Observed Result
In the older project the quickbar slot is empty - the icon is never drawn. In any newer projects the identical prefab renders correctly.
Platform(s)
Any
Island Code
0148-0322-5437