UISizeConstraint MaxSize larger than MinSize warning has no link to script

Reproduction Steps

Failed to set UISizeConstraint’s MaxSize as it is smaller than MinSize.

Make a UISizeConstraint and make max smaller than min in Studio. (This should probably be studio bugs I guess).

Expected Behavior

There should be a link to an instance or script so I can narrow down where this is coming from.

Actual Behavior

I cannot click on this warning to jump to the instance affected, or the script doing this. This warning is completely useless.

Workaround

Trial and error, impossible to deal with this in a full sized game.

Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-11-23 00:11:00 (-06:00)

4 Likes

Thanks for the report! We’ll follow up when we have an update for you.

3 Likes

Hey there, I know this is old but I am also experiencing this issue as of 3/17/2025. I have no UISizeConstraint instances in my experience at all, so this is an odd error.

1 Like

Hi @Hxndaaa - can you please confirm if the issue is still happen? We published some UI changes this morning but have since reverted.

1 Like

Issue has seemed to be resolved after a restart of Studio, thanks

2 Likes

this infact IS a bug, I am getting this too, and I’m not even using any Constraints!

Hi there,

This should be fixed for real now.

Before, trying to set MinSize > MaxSize would ignore the attempt and print this unhelpful warning. Properties had to be set in a specific order to avoid this. Roblox’s internal code often sets properties from a table, which creates a randomized order. This is why the warning could be printed even when your experience used no UISizeConstraints.

Now, the warning message and the restriction have both been removed. If MinSize > MaxSize, then the UISizeConstraint will be ignored.

3 Likes

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