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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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"