It seems to be related with the background cooking process not ending properly.
I’ve done some tests with CookProcessCount=4 on my Mac Studio. The cooking times are significantly reduced (from 6 minutes to less than 1 minute on a simple project), which is great. But I need to manually end each cooking task by closing its associated window. Then the packaging process continues and completes successfully.