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
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
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note (fix version 2020.2):
Fixed with 2021.1.0a2.727, backported to 2020.1.12f1
Resolution Note (fix version 2020.2):
Fixed with 2020.2.0b10