Every time i try to start my game it crash

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