Skip to content

Commit 448c38a

Browse files
fix: MTTB-1273 Inconsistent SceneName in SceneEvent (#3458)
<!-- Replace this block with what this PR does and why. Describe what you'd like reviewers to know, how you applied the engineering principles, and any interesting tradeoffs made. Delete bullet points below that don't apply, and update the changelog section as appropriate. --> <!-- Add short version of the JIRA ticket to the PR title (e.g. "feat: new shiny feature [MTT-123]") --> [MTTB-1278](https://jira.unity3d.com/browse/MTTB-1273) fixes: #3418 ## Changelog - Added: A `ScenePath` field on the `SceneEvent` returned by the `OnSceneEvent` callback. - Fixed: Various bugs around the `OnSceneEvent` callback. ## Testing and Documentation - Includes unit tests. <!-- Uncomment and mark items off with a * if this PR deprecates any API: ### Deprecated API - [ ] An `[Obsolete]` attribute was added along with a `(RemovedAfter yyyy-mm-dd)` entry. - [ ] An [api updater] was added. - [ ] Deprecation of the API is explained in the CHANGELOG. - [ ] The users can understand why this API was removed and what they should use instead. --> ## Backport <!-- If this is a backport: - Add the following to the PR title: "\[Backport\] ..." . - Link to the original PR. If this needs a backport - state this here If a backport is not needed please provide the reason why. If the "Backports" section is not present it will lead to a CI test failure. --> Backport not yet created. --------- Co-authored-by: Noel Stephens <[email protected]>
1 parent 6a16349 commit 448c38a

File tree

6 files changed

+390
-184
lines changed

6 files changed

+390
-184
lines changed

com.unity.netcode.gameobjects/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
1515
### Fixed
1616

1717
- Fixed issue where `NetworkVariable`s on a `NetworkBehaviour` could fail to synchronize changes if one has `NetworkVariableUpdateTraits` set and is dirty but is not ready to send. (#3466)
18+
- Fixed inconsistencies in the `OnSceneEvent` callback. (#3458)
1819
- Fixed issues with the `NetworkBehaviour` and `NetworkVariable` length safety checks. (#3405)
1920
- Fixed memory leaks when domain reload is disabled. (#3427)
2021
- Fixed an exception being thrown when unregistering a custom message handler from within the registered callback. (#3417)

0 commit comments

Comments
 (0)