Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.3.X, 6000.4.X

Votes

2

Found in

6000.0.64f1

6000.3.1f1

6000.4.0b1

6000.5.0a3

Issue ID

UUM-129392

Regression

No

Addressable terrain shader variants are stripped from the Player

-

How to reproduce:
1. Open the “TerrainShaderTest.zip“ project
2. Build and run the project
3. Observe the Player

Actual: Terrain shaders are stripped, the terrain shows up in pink
Expected: Terrain shaders are included, and the terrain shows up with valid textures

Reproducible in: 6000.0.0f1, 6000.0.64f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Could not test in: 2023.3.0a2 (pink textures are present, but unsure if the bug causes that)

Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested

Note: This bug manifests in player builds if the following are all true:

  • Strict Shader Variant Matching is on (if off, it just hides the problem)
  • URP shaders are in an addressable group
  • Terrain and scene are in an addressable group
  • Terrain uses the normal map and/or the mask map
  • Terrain uses 5 or more layers (so multiple passes are needed)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.