Commit 448c38a
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- com.unity.netcode.gameobjects
- Runtime/SceneManagement
- TestHelpers/Runtime
- testproject/Assets/Tests/Runtime/NetworkSceneManager
6 files changed
+390
-184
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments