Search Issue Tracker
Fixed in 2020.1.X
Votes
1
Found in
2018.1.0b10
2019.3.0a1
Issue ID
1008925
Regression
Yes
Assertion ''(int)indices[kStaticLightmap] + staticOffset >= 0' is shown after untoggling Baked GI in the new scene while baking
Steps to repro:
1. Create a new project;
2. Add a cube gameobject;
3. Mark the cube as static in the Inspector;
4. In the Lighting Window untoggle Baked Global Illumination checkbox while baking lighting.
Actual result:
Assertion:
'Assertion failed on expression: '(int)indices[kStaticLightmap] + staticOffset >= 0 && indices[kStaticLightmap] + staticOffset < kLightmapIndexInfluenceOnly'
is shown in the Console. Regression introduced in 2019.3.0a1.
Expected result:
No assertions are thrown when switching lightmap backend.
Notes:
- Reproducible in 2019.3.0a12, 2019.3.0a1;
- Not reproducible in 2019.2.2f1, 2019.1.14f1, 2018.4.6f1;
- Reproducible only on Windows, not reproducible on OSX;
- Not reproducible when switching from Enlighten to PLM.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Add comment