Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.3.0f3
2020.1
Issue ID
1215428
Regression
No
New scene always returns null Lightmap Parameters
How to reproduce:
1. Open the attached project
2. File > New Scene
3. GlobalIllumination > Print LM Parameters
Actual result: The returned parameters are null.
Expected result: The parameters should be "Default-Medium".
Reproducible with: 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a21.
Notes:
- The parameters are returned correctly once lightning settings been changed in the scene.
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
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
- Missing #pragma directives warnings appear in Inspector when including .hlsl file in Shader
- Fixed Timestep setting gets resets to default when upgrading project
- Console displays "NullReferenceException: Object reference not set to an instance of an object." during Editor Theme change
- Editor interface has low contrast when any theme is used
Resolution Note (fix version 2020.2):
Use this API for getting the Lighting settings (starting 2020.2.0a2) https://docs.unity3d.com/2020.2/Documentation/ScriptReference/LightmapParameters.GetLightmapParametersForLightingSettings.html