Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0a3
Issue ID
1010170
Regression
Yes
[Enlighten] Crash in AssetDatabase::CheckCanAddObjectToAsset after baking lighting for additively loaded scenes
Steps to repro:
1. Open attached project and 'main' scene;
2. Drag 't1' scene to the Hierarchy;
3. Open Lighting window (Window>Lighting>Settings);
4. Click 'Generate Lighting' button;
5. Wait until baking is finished.
Actual result:
Editor crashes (see attached video). Last calls from the stacktrace:
0x0000000141F251F7 (Unity) AssetDatabase::CheckCanAddObjectToAsset
0x0000000141F26889 (Unity) AssetDatabase::CreateSerializedAsset
0x00000001411582AD (Unity) WriteLightingDataAssetJob::Integrate
0x0000000140DE69FB (Unity) JobManager::IntegrateCompletedJobs
0x0000000141142A05 (Unity) GISceneManager::Update
0x000000014113CD95 (Unity) `GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward
Regression introduced in Unity 2018.2.0a3.
Workaround is to bake lighting in auto-mode.
Expected result:
Editor should not crash after generating lighting for multiple scenes.
Notes:
- Reproducible in 2018.2.0a3;
- Not reproducible in 2018.2.0a2, 2018.1.0b10, 2017.3.0p2;
- Reproducible on Windows 10 and OSX 10.13.3;
- Reproducible when Enlighten is set as baking backend for both scenes; when PLM is set, the Editor spams errors (known bug);
- Reproducible only when manually baking scenes; not reproducible in auto-mode;
- The bug completely prevents manual baking of additively loaded scenes (since PLM batch baking has known issues currently).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
Add comment