Closed
Description
Description
When a user implements ValidateSceneBeforeLoading to bypass loading certain scenes (security or platform specific purposes) and ValidateSceneBeforeLoading is invoked during a client's synchronization stage then the entire remaining portion of the synchronization process is completely halted.
Reproduce Steps
- Create a project where clients invoke ValidateSceneBeforeLoading
- Create a neutral scene that has no impact on whether the client loads it or not
- Have the client-side return false when the neutral scene is attempting to load
- Start the host and connect a client
Actual Outcome
The client never finishes the synchronization process and never fully connects to the server.
Expected Outcome
Users should be able to use ValidateSceneBeforeLoading during the synchronization process without it impacting the synchronization process.
Environment
- OS: Windows 10 (will happen on all platforms)
- Unity Version: 2021.2.10f1
- Netcode Version: 1.0.0-pre.7