Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2020.1.X

Votes

2

Found in

2020.1.0a20

2020.1.4f1

2020.2

Issue ID

1275179

Regression

Yes

Out of range [0;1] exceptions are thrown when Light Component Intensity value is lower than 3.79684775648568885e-38

Shadows/Lights

-

Reproduction steps:
1. Open the attached project ("Test2020LightingBug.zip")
2. Open "SampleScene" scene
3. Enter Play mode

Expected result: No errors thrown in the console
Actual result: ArgumentOutOfRangeException is thrown constantly:

ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Red color (Infinity) must be in range [0;1].
UnityEngine.Experimental.GlobalIllumination.LinearColor.set_red (System.Single value) (at <fb900ccbd717476f91b221d941550640>:0)
UnityEngine.Experimental.GlobalIllumination.LightmapperUtils.ApplyColorTemperature (UnityEngine.Color cct, UnityEngine.Experimental.GlobalIllumination.LinearColor& lightColor) (at <fb900ccbd717476f91b221d941550640>:0)
UnityEngine.Experimental.GlobalIllumination.LightmapperUtils.Extract (UnityEngine.Light l, UnityEngine.Experimental.GlobalIllumination.DirectionalLight& dir) (at <fb900ccbd717476f91b221d941550640>:0)
UnityEngine.Experimental.GlobalIllumination.Lightmapping+<>c.<.cctor>b__7_0 (UnityEngine.Light[] requests, Unity.Collections.NativeArray`1[T] lightsOutput) (at <fb900ccbd717476f91b221d941550640>:0)
UnityEngine.Experimental.GlobalIllumination.Lightmapping.RequestLights (UnityEngine.Light[] lights, System.IntPtr outLightsPtr, System.Int32 outLightsCount, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safetyHandle) (at <fb900ccbd717476f91b221d941550640>:0)

Reproducible with: 2020.1.0a20, 2020.1.5f1, 2020.2.0b2
Not reproducible with: 2018.4.26f1, 2019.4.10f1, 2020.1.0a19

  1. Resolution Note (fix version 2020.2):

    Fixed with 2021.1.0a2.727, backported to 2020.1.12f1

  2. Resolution Note (fix version 2020.2):

    Fixed with 2020.2.0b10

Comments (1)

  1. Jakub_Machowski

    Mar 05, 2023 15:25

    The problem still in 2020.3.45

Add comment

Log in to post comment