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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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