Skip to content

Masked text renders differently between Editor view and Runtime #4615

Description

@marcusx2

Edit by @yaustar

In project: https://playcanvas.com/project/977066

The text is rendered and masked in Editor:
image

But at runtime it isn't rendered
image

It looks like it is related to the size/bounds of the text element which is smaller than the area that the text is rendered as seen in this video. When the text element bounds are in the area of the mask element, the text is rendered and masked at runtime.

Kapture.2022-09-06.at.13.24.25.mp4

Please watch attached video

bandicam.2022-09-02.14-22-37-635.mp4

Here's the project.

This is not a bug that happens just on play mode, I tried actually publishing and hosting the build, it has the same issue.

Metadata

Metadata

Assignees

Labels

area: uiUI related issue

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions