EDIT: User error. had a script attached for some reason that deleted duplicates from being created. I forgot why i created it, i'm sure i'll discover it soon EDIT EDIT - found the reason - see reply
Hey GiL,
Been having issues getting multiple portraits to show up. It's generating content for the last added combatant to a group, but not all combatants.
That's right - the reason I did this is because each time I open the menu, it creates another instance of my hud, pushing the image along. Example after opening menu 9 times:
What it originally looks like:
After opening 5 times:
My HUD is setup with the actual HUD element being a child of the parent - not sure if that is maybe what's causing it. Made it ages ago, so unsure if this was required to get the portait content or not:
And fixed, Cut and pasted that HUD component to the parent, re-assigned children dependencies, aaaand it seems to work now. Open/close x9 and everything stays in the same spot.
When copy/pasting HUD components, always make sure their Content Provider is set up correctly, i.e. they get the content they need :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Example after opening menu 9 times:
What it originally looks like:
After opening 5 times:
My HUD is setup with the actual HUD element being a child of the parent - not sure if that is maybe what's causing it. Made it ages ago, so unsure if this was required to get the portait content or not:
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!