Search Issue Tracker
Fixed
Fixed in 2022.2.2f1, 2023.1.0a20
Votes
0
Found in
2022.2.0b10
Issue ID
UUM-15675
Regression
Yes
Lightmap baking fails when URP Template content is put into a subscene
Repro steps:
- Check out latest 2022.2/staging (tested with git commit 62ca96eb270df00114e34114a5155944030c179f)
- Check out latest DOTS master (tested with git commit c15f5229c91b3e0d202461b8ea1870159b59d9ee)
- Extract the attached test project into a sibling folder of the DOTS checkout
* E.g. if DOTS is in C:\UnitySrc\dots, the test project should be in C:\UnitySrc\EntitiesLightmappingBug, so the relative package path works
- Open the scene Assets/Scenes/SampleScene.unity
- It's the default URP template, but with the assets moved into a DOTS subscene
- Click Window > Rendering > Lighting > Generate Lighting
- GI baking goes into an error loop, repeatedly giving this error message:
{noformat}
Integrate failed on Write Lighting Data job.
{noformat}
** The editor becomes unresponsive due to the error loop
Expected behavior: GI gets regenerated, and Entities get updated with the new lightmaps
Actual behavior: GI baking repeatedly fails with an error
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2023.1.0a20):
Resolved with https://github.cds.internal.unity3d.com/unity/unity/pull/16902