Screen goes black when baking light Maps

I converted a revit file to ifc then imported it into blender then imported the blend file into unity. I set it as static and checked genrate lightmap uvs. When i hit generate light maps it starts bakeing and the loading bar freeze occasionally then the screen goes black. The screen stayed black for an hour before restarted the computer. My computer is a laptop with intel hd 630 and im using urp

Are you using the progressive GPU lightmapper? It is still in preview on older versions and has caused crashes there for me.