If there are no errors or warning in you log, we need to go step by step focusing on BP communication… so here goes a small wall of text :
- We have a BP that is able to know when a level has been completed, then comunicates to Game Instance.
- we need to confirm it is able to know level has been completed, se we need to print from that BP when he is being informed.
- This BP then calls Game Instance. We need to know the funcion to call is being properly executed, so a print node after this call could tell us that.
- This BP has instances with a variable that tells Game Instance what level has been completed. We should check if they are all set accordingly.
- Game Instance recieves the call.
- Add print from Game Instance when it recieves the call to know it did.
- We then check a condition: if the level thathas been completed is not marked as completed, mark as completed and load next level.
- we need to check if this condition returns true or false. Another print node.
- When the condition returns true, we update the variable to reflect level status.
- we need to check if said variable is being updated properly… another print nore after the set…
- We have a branch that checks another condition.
- we don’t have to do anything here because one of the condition has a print node, so if we don’t see that print it means it was the other option.
- We load the level by name from the struct.
- Check if the struct name variable has the correct name that correspond with the level to load.
- And finally, everyrhing is driven by an integer in Game Instance.
- we need to check if this int (LevelNumber) is updating accordi nly and not loading the same level.
Could be any one of those problems.