Closed JasonMa0012 closed 3 years ago
Can you check if that happens if you set Atlas Packer to Default? https://geom.io/bakery/wiki/index.php?title=Manual#Atlas_Packer
I tried the default and xatlas respectively, and they both cause a crash
Can you send me your Editor.log right after the crash? It is usually located in C:\Users\YourName\AppData\Local\Unity\Editor\
Also just to confirm - is Unwrapper also set to default (NOT xatlas)?
https://mega.nz/file/F7hilQJB#YsaItPBGgH0sdgoeGvDxmc_Bc-G4EoS1G61DsiSWOwg
Reproduction steps: create a new Unity2020 HDRP project, import bakery, and render lightmaps in the default scene with default settings
Bakery was tested on Unity 2020.1.14 and HDRP 8.2.0 before the latest release and didn't crash.
Just tested with the fresh project / default scene, didn't crash.
I see what's the problem, you're on DX12. Bakery needs Editor to be running in DX11 mode (at least during bake, you can switch to DX12 later).
I guess my default HDRP project worked out of the box because I'm on Win7, and it defaults to DX11.
Added GAPI detection, won't crash anymore, but will show an error message explaining the cause/what to do: https://github.com/guycalledfrank/bakery-csharp/commit/dad2c5eda10a3bbaa630d7d4b72dd8742d4e0fbe
Also added to the docs for any future incidents: https://geom.io/bakery/wiki/index.php?title=Troubleshooting#HDRP_project_crashes_when_trying_to_bake
That's true. Thank you
`{ "dependencies": {
} }`