Unity Issue Tracker - Spot light is not rendered if the Outer Spot Angle is set to below 2.56216 when the Android Build Platform is selected
Fixed
UUM-104997
Spot light is not rendered if the Outer Spot Angle is set to below 2.56216 when the Android Build Platform is selected
Unity: Lighting
Fixed
6.3.X
Won't Fix
6.2.X
6.1.X
6.0.X
2022.3.X
The problem stems from a lack of precision of float16 registers on mobile platforms. It's not possible to fix it without impairing performance. To circumvent the problem, we now always clamp the the angle to 2.6 degrees.
Steps to reproduce:
1. Open the attached “IN-100540” project
2. Switch to the Android Build Platform
3. Open the “SampleScene”
4. In the Hierarchy window, select the “Spot Light”
5. In the Inspector window, Under the “Light” component, expand the “Shape” section and change the Outer Spot Angle to anything under 2.56216
Expected result: The Spot Light is rendered
Actual result: The Spot Light is not rendered unless the Outer Spot Angle is 2.56216 or higher