The problem appears to come from security changes Apple made to OS X. Hugin is denied certain access privaleges critical to its process for handing the stitching task over to PTBatcherGUI. The cause seems to be elusive enough, and also possibly different for each OS X version, to evade error trapping attempts on the part of Hugin’s OS X developers. I suspect the issue is related to Apple gradually integrating its A2 security chip into OS X versions.
The fix for me, revealed by others in pervious posts, requires manually allowing Hugin the required security access privileges in Apple’s “Security & Privacy” section to OS X’s “System Preferences”. My OS X is 10.15.4. The names, GUI and procedure I describe might be slightly different than in your OS X version but I would assume the general concept is the same.
Open the “Security & Privacy” section in “System Preferences”. Note this is OS X System Preferences, not Hugin Preferences. Select the “Privacy” selector in the “Security & Privacy” pane. The GUI might be different for OS X 10.14.4. The “Security & Privacy” preferences concern what applications are allowed to access. This includes disk access as well as microphone access etc.
“Unlock” your access to “Security & Privacy” if it locked. (i.e. “Click the lock to make changes.”)
Find and select “Full Disk Access” in the category selection pane that is on the “Security & Privacy” pane’s left side. Using the “+-“ control, add Hugin to the applications listed in the right hand side list window if it not listed. Then check its checkbox.
I did not need to add PTBatcherGUI for “Full Disk Access”. For me, PTBatcherGUI was already listed in the “Files and Folders” category access. It apparently had partial access. What is confusing is that the “+-“ control for the “Files and Folders” category access list window cannot be activated. Applications with Full Disk Access are listed in this list. Hugin will be listed there after you grant it Full Disk Access in the Full Disk Access control.
Lock the setting when you are done. This fixed the Hugin transfer to PTBatcherGUI problem.