Skip to content

fix: ValidatesSceneBeforeLoading halts client synchronization #1883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Apr 19, 2022

This PR fixes the issue where if a client attempts to reconnect without unloading the scenes and uses ValidateSceneBeforeLoading to bypass loading the scenes that are already loaded, then it will throw an exception and the client cannot continue synchronizing.

MTT-3285

Changelog

  • Fixed: issue during client synchronization if 'ValidateSceneBeforeLoading' returned false it would halt the client synchronization process resulting in a client that was approved but not synchronized or fully connected with the server.

Testing and Documentation

  • Includes integration test.

MTT-3285
This fixes the issue with ValidateSceneBeforeLoading not continuing to synchronize if one scene is skipped over.
adding some debug information (LogLevel.Developer) so users can track when a client declines to load a scene
When a scene is not validated on the client side it should invoke HandleClientSceneEvent not ClientLoadedSynchronization
MTT-3285
Integration test
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review April 19, 2022 00:44
NoelStephensUnity and others added 2 commits April 18, 2022 19:45
removing space in assert message
unload the loaded scenes.
@NoelStephensUnity NoelStephensUnity merged commit d220adf into develop Apr 20, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/mtt-3285-validatescenebeforeloading-ending-client-synchronization branch April 20, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants