Problem with UIListLayout.Wraps

Hi, I encountered an issue with the UIListLayout.Wraps property where it doesn’t appear to work in game.

Published game:


meanwhile studio:
image
If anyone knows why this issue is occurring it’d be much help.
I’m unsure what topic to put this under as it doesn’t seem to be related to scripting, the code for this dialogue system is vast but I’ve never mentioned UIListLayouts in the code as it’s fine pre-defined.
image

Edit: This dialogue system is made from complete scratch, each character is individually created as its own instance so that I can create special effects with dialogues that are inspired by Pokemon and Undertale. UIListLayout is the most efficient way of laying the characters out correctly, and it works really well.

I think this might be an issue with UIListLayouts.
Perhaps you could look into using a single TextLabel so you can utilise the TextWrapped property? I know you mentioned that each character is its own instance for special effects - but I’m wondering if you could do the same using rich text.

Some effects that I’m hoping for I will not be able to do with rich text (for example every character of a word shaking for like a scream or horror effect). I might just end up re-coding UIListLayout if it comes to it, (it’s not as hard as it sounds)

I’ll resort to what i said, re-coding UIListLayout if nobody is able to provide why this is happening.
Thanks for your reply though!

I’ve fixed my issue with my own solution, recreating the UIListLayout effect, optimized for my dialogue system specifically.
image

image

The reason it doesn’t work in game is because it’s a part of the UI flex features beta, because it’s a part of a beta, it will only work in studio.

2 Likes

Ah, I see. Thanks for this. input! This is very annoying though.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.