Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

This looks like a tremendously useful extension! I just gave it a try on a fresh Aseprite installation, with no other extensions enabled, and am running into crashes when attempting to use any functionality. 

Repro: with a few painted pixels on a single layer, selecting an area and attempting to utilize any option under Edit > Center, Aseprite immediately crashes. In other words, a base usecase.

System Details:

- MacOS 14.6

- Extension v2.0

- Aseprite v1.3.7

Asesprite debug log shows the extension loading successfully, but no debug info:

```

EXT: Loading extension '/Users/[redacted]/Library/Application Support/Aseprite/extensions/center-image/package.json'...

EXT: Extension 'center-image' loaded

BC: Load extension

 - [name]=center-image

 - [url]=https://thkaspar.itch.io/

 - [version]=2.0.0

EXT: New keyboard shortcuts 'center-image-keys' in '/Users/[redacted]/Library/Application Support/Aseprite/extensions/center-image/./extension-keys.aseprite-keys'

EXT: New script path=/Users/[redacted]/Library/Application Support/Aseprite/extensions/center-image/./extension.lua

...

CTXT: Executing command Center

--EOF--

```

Let me know if there's a better place to submit a bug report and I can move this there so it doesn't clog your project comments, but hopefully this is helpful!

It looks like the log mentions loading the extension, I’m assuming correctly as there are no errors logged. I tested the version 2.0 of the extension on Aseprite v1.3.7 (on Windows 11) but I couldn’t reproduce the issue.

Do you experience any other crashes? Do you have any other logs that you could share? Could you try any other extension (I’m wondering if there’s some issue with script execution)?

I tried on my Windows machine and I also had no issues. Just on MacOS. I've never experienced an Aseprite crash otherwise and just tried several other extensions and they all seem fine. I don't see anything out of the ordinary in the logs and the logs terminate right when the "Center" command is issued and the program crashes. Not sure what the issue might be!

I suspect that the way the extension modified image pixels might not play well with the MacOS version. You can try the released update (v2.1.0), it might solve your problem. ✌️

Just updated to v2.1.0 and I can confirm that the extension now works on MacOS for me. Sweet!