Every time i try to start my game it crash

Hey i m doing an endless runner and i need help.
I think u could help me, but i m just learning this language in unreal and i don t know how to resolve this problem
it crash every time i tryna start the game and close it instatly, cuz it don t add a new floor and when my charater it the

Script call stack:
Function /Game/ThirdPersonBP/Blueprints/BP_Chão.BP_Chão_C:BndEvt__Box_K2Node_ComponentBoundEvent_3_ComponentBeginOver

it says this btw

Where do you calculate nextSpawnPoint Location and where do you call your initial spawnTile (I guess beginPlay?)? Please show a screenshot of that. I guess you follow the endlessRunner tutorial?

i think is there mate, hope u could help me

Hey,

It’s infinite loop meaning you call same function continously which will result in not doing anything except this one function. This way game can’t run other logic and blueprint breaks flow

If you need help with tracking what’s causing problem show us show function. It’s where inifnite loop occurs.

You can use breakpoints to see what is being executed and than step by step what is executed and why there is loop.

BTW: Don’t use special characters like ã in filenames and in functions, variables. Use pure english it will help to prevent further crashes or weid problems.

sry mate i didn t understand what i could do to fix my problem

Have you forgotten to Set the nextSpawnPoint Variable? Try to disconnect the overlap as a test and Check If you See 10 tiles in Front of you
@Foxnight22

yes i know but the loop is what spawn the floor, what i would do to fix that

Do you know what loop is? If no than you should read somewhere about this.

Can you show spawntile function?

Hover over show and make screenshot and paste here

Again - you Re not setting your variable nextSpawnPoint. This is why the tiles Spawn at the Same Location, then collide, Spawn a new one, and you have your loop

Good post thanks for share information.