Is there any issues with using CanvasGroups over frames?

Title, but let me explain a little more

i just kinda have a habit of using canvasgroups most the time over frames,
i do know they always have clip descendants on and if i need it off ill just use a normal frame

just wondering if any possible issues could arise with my extended use of canvas groups over normal frames

They redraw content as pixel images. This results in massive memory overuse. What can use 1 kb, uses 1 mb.
If this stacks some times, you will begin to see black canvas groups.
They are good only for clipping things and gradienting them together, nothing else. If you need simple UI, go with frames and save memory of user devices.

2 Likes

well this is very good to know, thanks for the information :+1:

ill switch over most of my canvasgroups to frames

1 Like

CanvasGroups allows for a wide range of GUI manipulation like having the ability to change transparency globally and changing color and better clipping for rotated and cornered items. There simply isn’t any con to it other then the fact that it uses a bit more memory and it loses resolution for lower graphics.

If you want to make fade in/out animations then a niche little trick that I used is to have your entire GUI set in a frame which is parented to a canvas group. Then using a player setting, you can change the parent of the frame from either the canvas group or another frame which is similar to the canvas group.

Something like:
image

This won’t use much memory as there is only an addition of two frames in your final GUI and can be considered a bit convenient if you REALLY want to make fade in/out animations.

1 Like

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