Build Defaulting to Previous Scene Despite Correct Configuration

Hello VRChat Community,

I’ve encountered an issue with building my VRChat world where the build process defaults to a previous scene I’ve worked on, despite having changed to a new scene in my project. Here’s what I’ve done so far:

  • I have switched to the new scene and set up the VRCWorld object correctly.
  • The VRChat SDK settings seem to be configured properly, with no references to the old scene.
  • When testing the build through the VRChat client simulator, it consistently loads the old scene instead of the new one.

Has anyone experienced this issue before, and if so, could you provide guidance on how to ensure the build process recognizes the current active scene as the default? Any help would be greatly appreciated!

Thanks

Ended up fixing my issue. I had a series of C# tool scripts that I use to organize my workspace, and not in the VRChat world itself. These prevented the build from happening altogether. I was able to deactivate them on VRChat build by wrapping them with the following tags:

#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
...
rest of my code
...
#endif

Now the build goes through and the new scene is playable.