Skip to main content
Participating Frequently
September 24, 2021
Question

exporting assets will crash generator

  • September 24, 2021
  • 1 reply
  • 217 views

I found that when export image in photoshop, like using code

app.activeDocument.exportDocument(file, ExportType.SAVEFORWEB, options);

 

or manully use the ps Export -> Save for web...

this will make an exception to generator process and stop it

 

Ps then shows an error dialog

 

generator exception log, just show "Unknown Javascript Error"

 

this is the code which output the error and stop the process

 

as I have a Geneartor plugin running background, when user export assets (or using some exporting panels), the generator process get stoped,  and my plugin get down too...

 

is this a bug of the "exporting progress" or something? 

and can it be fixed?

 

thanks.

This topic has been closed for replies.

1 reply

Legend
November 15, 2021

Photoshop 2018 is not a supported version. Are you able to replicate the problem with the current version? 2022 version 23.0.1