Skip to content
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

Fixed preferred active scene on client not being passed through #585

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

KeaneGames
Copy link
Contributor

Fixed preferred active scene on client not being passed through correctly on initial scene load
This was causing a different active scene on server and client in cases where multiple scenes are being used

…ctly on initial scene load causing a different active scene on server and client
@FirstGearGames FirstGearGames merged commit 99ef9ff into FirstGearGames:main Jan 12, 2024
FirstGearGames pushed a commit that referenced this pull request Jan 12, 2024
- Added TransportManager.Get/SetMTUReserve(int) to allow reserving bytes in buffers, such as use with IntermediateLayer to insert encryption data. Reserving bytes does not consume more bandwidth if bytes are not filled.
- Improved TransportManager.GetMTU methods to consider reserve.
- Improved exposed TimeManager.PingInterval.
- Fixed Fish-Networking menu item order.
- Improved created replicates which arrive after the run tick are now run in replays instead of twice.
- Changed ReplicateState.UserCreated renamed to CurrentCreated for clarity.
- Changed ReplicateState.Predicted renamed to CurrentPredicted for clarity.
- Changed ReplicateState.ReplayedPredicted/UserCreated renamed to Replayed.
- Added ReplicateState.Future to indicate future prediction of objects.
- Changed SceneLoad/UnloadData PreferredScene is now a structure.
- Added SceneLoad/UnloadData PreferredScene can now specify different scenes for client and server.
- Fixed Prediction v2 reconcile desyncs for NonAuthoritative.
- Fixed Prediction v2 reconcile desyncs for Authoritative.
- Improved RigidbodyPauser to be simplified and more flexible for edge-case setups.
- Fixed Prediction v2 garbage allocation from physics.
- Fixed Prediction v2 excessive replays of remote objects when local client was not moving.
- Removed NetworkManager.StaticLogXYZ methods.
- Added NetworkManagerExtensions.Log/Warnig/Error.
- Added Log/Warning/Error extensions for NetworkManager references; null references may be used.
- Improved NetworkManager logging methods now use Unity debug when NetworkManager does not exist in any scene.
- Improved ServerManager.ShareIds made public.
- Improved BufferLast always uses reliable channel for new observers now.
- Fixed a SyncType not being set dirty by server within OnStartServer due to no observers count, resulting in predicted spawners not getting the new value update.
- Added Prediction v2 teleport option for graphical object.
- Improved List.AddUnique now returns if added, as well value no longer boxes. (#579)(#580)
- Fixed preferred scene not being applied to global scenes for late joiners (#585)
- Fixed inversed transform offsets in GetTransformOffsets and SetTransformOffsets. (#578)
- Fixed DistanceCondition causing flickering due to incorrect hide distance calculation. (#576)
FirstGearGames pushed a commit that referenced this pull request Jan 14, 2024
- Fixed preferred scene not being applied to global scenes for late joiners (#585)
- Fixed TicksToTime(PreciseTick pt) returning incorrect values.
- Improved exposed TimeManager.PingInterval.
- Improved accuracy printout for ColliderRollback demo.
- Improved PreciseTick legibility and potentially accuracy slightly.
- Improved List.AddUnique now returns if added, as well value no longer boxes. (#579)
- Fixed inversed transform offsets in GetTransformOffsets and SetTransformOffsets. (#578)
- Fixed PredictedBullet, predicted spawning example, within Rigidbody Prediction v1 demo.
- Improved notes and explanations on predicted spawning example.
- Fixed a SyncType not being set dirty by server within OnStartServer due to no observers count, resulting in predicted spawners not getting the new value update.
- Removed all prediction v2 logic and demos. Only v4 and up will support prediction v2.
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