Search Issue Tracker

By Design

Votes

8

Found in

2023.2.6f1

2023.3.0b4

6000.0.0b11

Issue ID

UUM-61888

Regression

No

Terrain textures are not being rendered when the project is built

--

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Build the project (File > Build Settings > Build)
3. Run the built project
4. Observe the game window

Expected result: The terrain is visible
Actual result: The terrain’s textures are not visible

Reproducible with: 2023.2.6f1, 2023.3.0b4
Couldn’t test with: 2021.3.34f1, 2022.3.18f1 (due to compilation errors)

Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested

Note: Build & Run doesn’t work due to third party validation scripts, project needs to be built in the Build Settings window

  1. Resolution Note:

    The issue in the project occurred due incorrect shader stripping settings.

    The provided repro project had the terrain set to "Draw Instanced". It also had the Project Settings, Graphics, Shader Stripping, Instancing Variants set to Strip All. These two settings combined means that the Shaders required for drawing the terrain were not present in the player, and therefore the terrain was not able to draw.

    The issue can be resolved by setting Instancing Variants to "Strip Unused" or "Keep All"

Comments (1)

  1. AetherMFP

    Mar 22, 2024 17:52

    Still occurs in Unity 6000b11

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.