cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.23k stars 1.94k forks source link

Label Outline and Shadow do not work on native iOS / Android / Windows #16331

Open Kingurus opened 1 year ago

Kingurus commented 1 year ago

Cocos Creator version

3.8.0

System information

Windows 11

Issue description

LabelOutline and LabelShadow work well on web, but do not work on native: iOS / Android / Windows LabelOutline LabelShadow

Relevant error log output

No response

Steps to reproduce

Open cocos-test-projects-3.7 in native Windows or Android, select ui -> label-outline or label-shadow

Minimal reproduction project

No response

kosmosgames commented 1 year ago

Hi!

Just have built the cocos-test-projects-3.8 project, the label-shadow scene on an Andoird phone, and all the shadows work for me.

Kingurus commented 1 year ago

I create a label in cocos creator 3.8, add component LabelShadow and increase the values, it shows in web, then build for windows, compile and run -> no shadow