• Bugs
  • Crash while initializing character from Photoshop to Spine

Good afternoon!

When I am trying to export my character from Photoshop to Spine, it starts initializing for a couple of seconds then a notice appears and it would crash.

I've tried update graphics drivers, chipset drivers, and resetting preferences. Also tried reinstalling Photoshop with cleaning the registry. I tried different versions of Photoshop (v.22.0.0.35, v.21.2.1.265 and v.19.1.6.5940) on a computer (AMD Rizen 5 3600, Nvidia GTX 1660 SUPER, 32GB, Win10) and a laptop (Intel i5 3230M, Nvidia GT 740M, 12gb, Win10). The result is always the same.

To show what is happening, I recorded a video: what happens at startup and what the Adobe ExtendScript Toolkit shows.

Related Discussions
...
  • Изменено

Good job using ExtendScript to find exactly where the error occurred. The interesting part is what part of the script is executing when Photoshop crashes, at 9:19 in the video. Seems that Photoshop crashes when trying to run an action to get the ruler origin in the rulerOrigin function. It is strange that no other users have reported this same failure, especially since you tried on multiple versions.

As mentioned in other threads nothing a Photoshop script can do should crash Photoshop, instead if there is a problem Photoshop should show the error but not crash. If Photoshop crashes completely instead of showing the script had an error, it means Photoshop has bugs and likely we need to rely on Adobe to fix Photoshop. 🙁

You can try modifying the rulerOrigin function, for example change to this:

function rulerOrigin () {
   return [0, 0];
}

That should use 0,0 for the origin instead of running an action to get the origin. Maybe that is sufficient for you?

Thank you very much for your reply! I haven't checked everything yet, but the export has worked. :yes:

месяц спустя

Had the same problem and modifying the rulerOrigin function has fixed it, thank you!