Search Issue Tracker

By Design

Votes

0

Found in

2020.3.38f1

2021.3.8f1

2022.1.14f1

2022.2.0b5

2023.1.0a8

2023.2.0a1

Issue ID

UUM-12179

Regression

No

Point Lights are not visible on Mobile when adjusting RGB values by a custom script

--

-

# Open the attached project "UI-TestProject.zip"
# Open the Lighting Scene
# Open Build Settings from File > Build Settings
# Switch to Android or iOS Platform
# Build and Run
# In Build, set Blue and Green values to 0% and observe the Scene

Expected result: Upper left corner of the widow is red
Actual result: Upper left corner of the window is black

Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b5, 2023.1.0a8

Notes:
- Not reproducible on Mac Standalone and in Editor
- Not reproducible if GameObject "Extra Light" is removed from the Hierarchy
- Red light is visible if Green is set to 22% or above and Blue is set to 0%
- Green light is visible if Red and Blue are set to 0%, Green to 73% or above
- Blue light is visible if Red is set to 0% and Green is set to 64% or above

Reproducible with devices:
VLNQA00467 - Galaxy S21 Ultra 5G (SM-G998B), CPU: Exynos 2100, GPU: Mali-G78, OS: 11
VLNQA00266 - Xiaomi Mi A2 (Mi A2), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00323 - Galaxy Note 10 USA (SM-N970U), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9.0.0
VLNQA00352 - iPhone 12 Pro (MGML3ET/A), CPU: A14 Bionic, GPU: Apple designed
VLNQA00258 - iPhone Xs Max (MT502ET/A), CPU: A12 Bionic, GPU: Apple designed, OS: 13.2

  1. Resolution Note:

    The reason that only one light is behaving as expected is that the quality level chosen for the build is medium on android and that level only supports 1 pixel light. This means that the other light is vertex lit, and this only works well on a tesselated object (https://docs.unity3d.com/Manual/shader-NormalVertexLit.html). For this case choose a quality level that supports 2 pixel lights.

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.