Masking in the UI doesn't work

From the News from PlayCanvas post ‘:space_invader:Engine Release 1.50.0 - Clustered Area lights :bulb:

https://playcanvas.com/project/708224/overview/News%20from%20PlayCanvas

From dbeast95

This is because in the hierarchy, Entity ‘Sample’ does not have an element component.

All UI entities under a screen need to have an element component throughout the hierarchy otherwise some functionality doesn’t work.

Making the ‘Sample’ Entity an Image Group that is always fullscreen fixes the issue as seen here

https://playcanvas.com/editor/scene/1281955

I have a ticket here to add a warning in these scenerios.

2 Likes