Action executes perfectly within file, fails when Batching
Using Photoshop 22.4.2 on BigSur 11.4
I've created an Action that I'm using to open a folder of PSD files, crop them square, and save as a JPEG.
The Action runs perfectly as expected when running it on an open file in Photoshop.
Before:

After:

Note that the all the commands completed and a JPEG was saved into the folder on the left.
Closeup of the Action:

I have ~100 PSD files to apply this to, plus other actions/batches I would like to execute in the future, but when I close the open file and use File>Automate>Batch to run the action on a folder of PSDs, the batch fails with a "The command "Select" is not currently available" which is the first command in the Action. This repeats for every command.
Batch window:

Error popup:

Things I've tried:
- Running the Action without the beginning "Select" (assuming maybe the file opens with the layer already selected, and is unable to select it again) returns the same error with "The command "Duplicate" is not currently available". The file that I tested the Action on is also the first file in the folder, so it is the one causing the hiccup in the batch.
- Also tried running the Batch using local folders rather than on a network drive, same result
- Tried with another PSD at the beginning of the folder, same result
- Batching using other Actions (that also work within files) also doesn't work
- Restarted Photoshop
- Restarted Mac
Not sure what I'm doing wrong? I use Actions regularly but haven't tried to Batch in about a year. Has any one else experienced problems like this? Thanks!
