Skip to main content

Update shader stripping settings

Message

Some of the scenes appear to have fog enabled and / or lightmapping data. Please modify "Shader stripping" settings to always include required shader variants.

Explanation

Depending on the exact project structure, Unity might consider fog and / or lightmapping shader variants as not required and strip them from available shader variants. Unfortunately, there is no way to force-include those variants via Editor API, thus Playworks Plugin has to instruct developers to mark such variants as always included into the build via Unity Graphics settings.

Steps to fix

Please navigate to "Shader Stripping" section in "Graphics" section of project settings and enable lightmap and fog modes used by your scenes:

troubleshooting-plugin-ui-plugin-expert-shader-stripping