Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Aseprite Advanced Exports

GIFs, PNGs, Spritesheets, all with one click. No more boring tedious work! More pixel-art! · By Coldfox

[SOLVED] Getting the nil value (global 'Sprite') error and can't get permissions dialogue to appear to fix it.

A topic by Spooky Squid Games created 31 days ago Views: 101 Replies: 7
Viewing posts 1 to 5
(1 edit)

Hi I'm running into the same issue described here:
https://itch.freezing.top/t/4428696/solved-sprite-doc-error

The problem is, there doesn't seem to be a way to trigger the permissions dialogue when I run CF Advanced Exports from the file menu. It just pops up the "attempt to call a nil value (global 'Sprite')" error. 

I'm guessing something funky is going on with my script/extension permissions for Advance Export, due to having installed an older version of Advanced Exports in the past, but I can't figure out how to fix it so that the permissions dialogue appears. The usual tricks like Uninstalling and reinstalling Advanced Exports, or restarting aseprite, do nothing. 

Any tips on how to get permissions sorted out?

Developer

What version of CF Advanced Exports are you running?

Developer

Can you send me a screenshot of the application when the error pops up?

(2 edits)

Sure. Here's the pop up. 


Developer

I uploaded version 5.5. Can you download it and just run that extension file. It should ask you to upgrade from 5.4 to 5.5 and request permissions again. Let me know if that works!

Thanks for the quick attempted fix! Gave it try and it asked me to upgrade from 5.4 to 5.5 as expected, but still didn't request permissions. I still get the error when I try to export using it. 

Wish I knew where it stored the permissions, I imagine there's just one line in a file somewhere that needs to be erased or something. 

Update: I figured it out! It seems to be some sort of conflict with another export extension I sometimes use GMLink
https://pr0te.itch.io/gm-link

Disabling GMLink and restarting Aseprite fixed it, still no permissions pop up, but I guess the old permission I set ages ago maybe worked once GMLink wasn't running? 

Turning GMLink back on causes the error to re-appear so looks like that's definitely the culprit. 

Developer

Ahh Ok yeah I did think it was odd.... I couldn't find any issues on the extension. I'm glad you sorted it out. If you need anything else let us know! Have a good day!