Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Jun 2, 2025

This PR includes the SinglePlayerTransport that provides users with the ability to start a single player game if:

  • using either network topology
  • using the SinglePlayerTransport
  • starting a session as a host

MTTB-1347

Changelog

  • Added: SinglePlayerTransport that provides the ability to start as a host for a single player network session.

Testing and Documentation

  • Includes SinglePlayerTransportTests integration tests.
  • Requires adding section to public documentation (PR-1476).

Backport

This is a backport of #3473

Adding the SinglePlayerTransport.
Adding test to validate single player works when started as a host and normal netcode functionality works.
Adding tests to validate that NetworkManager will fail to start if started as a client or server when using the SinglePlayerTransport.
Adding change log entry.
Fixing XML API spelling issue and adjusting some of the text copy.
migrating SinglePlayerTransport into a subfolder of Transports.
Removing transport meta file.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review June 2, 2025 18:05
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner June 2, 2025 18:05
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) June 2, 2025 18:15
@NoelStephensUnity NoelStephensUnity merged commit 1f4a077 into develop Jun 2, 2025
41 checks passed
@NoelStephensUnity NoelStephensUnity deleted the feat/add-singleplayer-transport-component-backport-3473 branch June 2, 2025 21:40
NoelStephensUnity added a commit that referenced this pull request Jun 2, 2025
This PR includes the `SinglePlayerTransport` that provides users with
the ability to start a single player game if:
- using either network topology
- using the `SinglePlayerTransport` 
- starting a session as a host 

<!-- Add short version of the JIRA ticket to the PR title (e.g. "feat:
new shiny feature [MTT-123]") -->

## Changelog

- Added: `SinglePlayerTransport` that provides the ability to start as a
host for a single player network session.

## Testing and Documentation

- Includes SinglePlayerTransportTests integration tests.
- Requires adding section to public documentation
([PR-1476](Unity-Technologies/com.unity.multiplayer.docs#1476)).


## Backport

Backported via #3475

<!-- 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.
-->
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.

3 participants