+1 vote

I met problems with godot constraints that cause StackOverflow errors. Can I somehow change the size of stack in Godot? There are two cases I found till now.
1. When I create recursive function it throws StackOverflow after 1024 self executions.
2. When I print quite big string it throws StackOverflow.
I obviousely can rewrite the function to iterative and don't print the string, but I wonder is there are other options (change stack size).

in Engine by (57 points)

1 Answer

+1 vote
Best answer

I didn't try this options.
But I guess this is what you need.

enter image description here

by (9,662 points)
selected by

Thanks, didn't know about that

Does it work in exported games? I see the tab is named "debug", it sounds like these options are only for testing.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.