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
Comments (1)
-
AetherCLion
Mar 22, 2024 17:52
Still occurs in Unity 6000b11
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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"