Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a5
2021.2.0a15
Issue ID
1331268
Regression
Yes
[PLM] Baking stalls after starting CPU PLM bake via the lightmapping API with enabled async shader compilation
Jira card: https://jira.unity3d.com/browse/GFXGI-547
Steps to repro:
1. Open the attached project;
2. Open the Test Runner window (Window>General>Test Runner);
3. In the context menu select Assets>Clear Shader Cache;
4. In the Test Runner window right click on the CrashAfterBakingNewSceneAfterPreviousBakeWithGPUPLM test (located under the RegressionChecks foldout) and click Run.
Expected result:
The test completes without stalls and errors.
Actual result:
The test stalls and never completes.
Regression introduced in Version 2021.2.0a5.
Workaround is to bake the scene manually and then eventual baking through the API works as expected.
Notes:
- Reproducible in 2021.2.0a15, 2021.2.0a5;
- Not reproducible in Version 2021.2.0a4, 2021.1.5f1, 2020.3.6f1;
- Reproducible on Windows + Mac;
- Not reproducible when Async Shader Compilation is disabled in the Project Settings.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
Add comment