You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i add a lot of booleanse (around 100) in 1 event condition, the game works in gdevelop preview,
but when i publish it on GD.games or itch or any other platform, the game freeze and the entire events just break and nothing works, and i get the error Uncaught InternalError: too much recursion in the debugger log on browser.
Here is a complete empty project that only have 1 event with many boolenas, this scene events will not work at all until you disable that 1 event with multi booleans in it: Test.zip
Update:
Problem Fixed ! 🥳
or i should say i just found a workaround,
so after subtracting booleans (157 by 157)
the error is gone at the number (314).
So i then divided the booleanse into separate events, each event now contains only 157 boolean variable x 5 = 785 variables in total but separated to 5 events with trigger once.
in conclusion:
events in GDevelop can't take more than 314 conditions in 1 event.
Steps to reproduce
1- Publish the scene to GD.games
2- Notice how the scene will not run any event at all in there.
3- Check the debugger in the browser.
4- You get the error Uncaught InternalError: too much recursion
GDevelop platform
Desktop
GDevelop version
Latest version
Platform info
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
That's an interesting error. Error being set aside though, should you rather use a repeat event to do a loop on an array/structure of booleans instead of manually doing anything that involves more than 3 variables? This will make things easier to manage and extend I guess :)
Is there an existing issue for this?
Describe the bug
When i add a lot of booleanse (around 100) in 1 event condition, the game works in gdevelop preview,
but when i publish it on GD.games or itch or any other platform, the game freeze and the entire events just break and nothing works, and i get the error Uncaught InternalError: too much recursion in the debugger log on browser.
Here is a complete empty project that only have 1 event with many boolenas, this scene events will not work at all until you disable that 1 event with multi booleans in it:
Test.zip
Update:
Problem Fixed ! 🥳
or i should say i just found a workaround,
so after subtracting booleans (157 by 157)
the error is gone at the number (314).
So i then divided the booleanse into separate events, each event now contains only 157 boolean variable x 5 = 785 variables in total but separated to 5 events with trigger once.
in conclusion:
events in GDevelop can't take more than 314 conditions in 1 event.
Steps to reproduce
1- Publish the scene to GD.games
2- Notice how the scene will not run any event at all in there.
3- Check the debugger in the browser.
4- You get the error Uncaught InternalError: too much recursion
GDevelop platform
Desktop
GDevelop version
Latest version
Platform info
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: