UIAspectRatioConstraint.AspectRatio set to a non-positive value

Hey,

I’m having trouble with my UIAspectRatioConstraints in Roblox Studio. They seem to disappear when I click outside the frame that contains them. This issue is really holding me back from progressing with my game. Any advice on how to fix this error? It’s really frustrating.

Here’s the error i receive:

UIAspectRatioConstraint.AspectRatio set to a non-positive value. Value must be a positive.

Video:

Thank you,
ghg - Roblox Developer

1 Like

voodoo ahh problem

are you running any negative values in the properties of the constraint?? the error says you are

1 Like

no, Its at positive 1. Idk what is happening with my studio…

1 Like

whip out the classic “turn off and on again”