Changing ImageLabel under CanvasGroup to be 'Slice' crashes studio

Reproduction Steps

guiSliceCrash.rbxl (41.6 KB)

Firstly, the CanvasGroup Beta feature must be active. If you change the “Items” ImageLabel to be ScaleType “Slice”, it will crash studio every time. It appears to only happen if it is inside of a CanvasGroup.



Expected Behavior

I expect it not to crash. If it was working correctly I would be able to change this ImageLabel to the “Slice” ScaleType.

Actual Behavior

When you change the ScaleType property to Slice, studio will freeze and produce an unexpected error message.

Workaround

The workaround is to not use CanvasGroups. Even attempting to change the ScaleType outside of a CanvasGroup, then moving it back in will cause a crash.

Extra Notes

  • A few people have tested this and it happens to them as well, so it doesn’t appear to be a system issue.
  • I tried to replicate this as simply as possible with just a CanvasGroup and ImageLabel, but was unable to, there is something else combined with the CanvasGroup that causes this.

Issue Area: Studio
Issue Type: Crashing
Impact: High
Frequency: Constantly
Date First Experienced: 2022-06-23 11:06:00 (-04:00)

4 Likes

I can confirm:

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

4 Likes