Skip to content

Conversation

@PowerfulBacon
Copy link
Contributor

The image res: path starts with a forward slash. The actual handling in the code needs to not have a forward slash.

<image
                    className="icon"
                    source="res:uisprites/BlankEquipmentIcons_20x17_0"
                  />
image
<image
                    className="icon"
                    source="res:/uisprites/BlankEquipmentIcons_20x17_0"
                  />
image

Copy link
Member

@KurtGokhan KurtGokhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how I didn't catch this before. Thanks a lot for this.

@KurtGokhan KurtGokhan merged commit 3719d9f into ReactUnity:main Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants