Photoshop versions past 24.0.1, including the latest 24.3, are breaking my Actions and Scripts that batch save PNGs (Save as a copy) that are supposed to keep the color profiles embedded. Each time I run an action or script, the first PNG keeps the color profile embedded, but all subsequent PNGs save out "untagged".
One weird exception: I have one Action which saves out a PSD and PNG from each file with color profiles embedded. The original action saved out the PSDs first and then the PNGs. This was the first time I noticed the bug. I tried switching the order in the action to save out the PNGs first, then the PSDs, and the bug no longer occurred. Not sure why, but I wanted to pass that along.
All other scripts which save out (not export) PNGs have this bug. We cannot update until this gets fixed.