Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded corners not working on build #53

Open
assyrian00 opened this issue Jan 12, 2024 · 2 comments
Open

Rounded corners not working on build #53

assyrian00 opened this issue Jan 12, 2024 · 2 comments

Comments

@assyrian00
Copy link

I use and set the rounded corners through script whenever I try to use the rounded corners after the build it breaks my project, it works as perfectly in runtime, works perfectly whenever I attach them using prefabs but whenever I build the projects after attaching the rounded corners with the script it does not seem to work, I'll attach to the screenshots bellow:
runtime:
image
build:
image
the prefabs use the script to the left and the whenever I attach it through script it uses the right one [external]:
image
an example of the UI instantiation:
image

@Bian-Sh
Copy link

Bian-Sh commented Apr 9, 2024

你可以尝试着将 shader 放到 always included shaders 列表中
image

@yuangenping
Copy link

你可以尝试着将 shader 放到 always included shaders 列表中 image

谢谢你,大哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants