Next Level issues

Ok so I’m using Unity 2022.3.12f and I’m trying to make a 100+ level Parkour game BUT I don’t know how to make it go to the next level once you complete the previous level. I’m currently using GetActiveScene().BuildIndex + 1 but it doesn’t work due to it being placed after level 1. Is there any other code I could use to make it go to the next scene using the button on the NextLevel scene?

Hi, Quick debug question - have you built your scene in the build menu? If not then the scene wont load even if named correctly. This is found in File → Build settings.
Otherwise it should work. Can you show us the specific code that isn’t working + the error please for more accurate help.