Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset conversion script - max call stack size exceeded #109

Open
kulabros opened this issue Nov 25, 2021 · 2 comments
Open

Asset conversion script - max call stack size exceeded #109

kulabros opened this issue Nov 25, 2021 · 2 comments

Comments

@kulabros
Copy link

Hi guys, I'm using 2.0.0-rc11 assetConversion.js script to migrate my assets. I've successfully migrated all asset I have, but there's one, large one. which fails and throws maximum call stack size exceeded error on libSetup method. The file is 10372K, 386061 lines of code. I know, it's very big resource file, but is there any to chance to get this fixed, to have higher limit of source assets file size? I'll try to split it manually, or reexport from Animate, but I'd expect the script should convert assets of any size? Maybe there's something that can be optimized to allow this large conversion, what do you think about this, have you got any reports, or is there someone, who had the same problem? Thanks a lot, good luck in upcoming releases!:)

@kulabros
Copy link
Author

I've successfully exported the mentioned assets of a big project from the source fla from Animate. But anyway, I'll leave this issue here just to let you know that this can happen, on a large assets file.

@andrewstart
Copy link
Collaborator

Hmm, it's been a while since I was in that script, but I didn't think there was any recursion going on that would hit a max call stack. I will take a look when I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants