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
Comments (1)
-
Jakub_Machowski
Mar 05, 2023 15:25
The problem still in 2020.3.45
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
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