- Home /
Huge Lists cause unity to throw bug reporter and crash?
Hello Everyone!
I am using a code which has 2 areas of interest, one of which causes a stack overflow and causes unity to throw a submit bug error.
1) recursion which reaches 18 levels (works perfect with 16, starts to struggle at 17) as it traverses down the node-web, searching for unexplored children of those nodes. When it finds a dead end - it copy-pastes the path that lead towards this dead end into a list. Each node has about 900 children
2) as a result - huge lists carrying paths in other list, example 58 000 cells full of other lists ( on top of that procedure done for every node in the scene).
I though that it might have been a recursion, that I need to translate it into a stack form, but now I am more and more inclined to think that this because of a huge list. Should I split my list into smaller ones? Can I do something to avoid this stack overflow, if it is one?
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Trying to Recreate Transform Child Heirarchy to a List 2 Answers
problem in minimax algorithm 1 Answer