ForEachLoop causes infinite loop error
Hello, I am new to UE4, so dont expect me to know much. However, i tried to create a dynamic room, so i tried to spawn walls, their location stored in an Array. Following unexpected error occured while testing:
I hope you can help me since i dont know the actual problem.
asked Dec 13 '17 at 02:49 PM in Blueprint Scripting
This is a textbook infinite recursion issue.
In the BeginPlay of WallBP, you're spawning more WallBPs, which calls BeginPlay on those, which spawns more WallBPs, which calls BeginPlay on those, etc..
What are you trying to achieve?
answered Dec 13 '17 at 03:30 PM
Is your location array empty? Maybe if it is, then it would be a 0 loop....
Would me my suggestion
answered Dec 13 '17 at 03:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here