Search Issue Tracker

Won't Fix

Votes

1

Found in

2021.3.40f1

2022.3.38f1

6000.0.11f1

7000.0.0a1

Issue ID

UUM-76160

Regression

No

The terrain is shiny when the platform is set to iOS or Android

-

Steps to reproduce:
1. Open the “IN-80725” project on iOS or Android platform
2. Open the “TerrainShinyTest” scene
3. Observe the terrain in the Game view

Expected result: The terrain isn’t shiny
Actual result: The terrain is shiny

Reproducible with: 2021.3.40f1, 2022.3.38f1, 6000.0.11f1

Testing environment: macOS Sonoma 14.5 (Intel), Windows (unspecified)
Not reproducible on: No other environment tested

Workarounds:
- Change the Texture 2D asset Alpha Source to “From Gray Scale”
- Change the Texture 2D asset Format to “RGB 24 Bit”

Notes:
- Reproducible in both the Editor and the Player
- Isn’t reproducible in Windows (by user), macOS platforms

  1. Resolution Note:

    This seems to be expected behavior. On Terrain Layers with diffuse textures that have an alpha channel, there is an option to use the “diffuse alpha channel” as the “smoothness source”. This is what causes the issue when switching the build target to iOS, as the texture gets compressed with ASTC RGBA (this has an alpha channel), causing the smoothness.

    Some solutions to this are either set the Terrain Layer to not use the diffuse alpha channel for smoothness (rather, set this option to “Constant” and control the smoothness using the slider) or in the Player Settings under Project Settings, you can set the Texture Compression Format to use the PVRTC compression texture instead, which allows for an RGB format without the alpha channel.

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.