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-1232

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

Backported via #3475

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.
@NoelStephensUnity NoelStephensUnity added the port:1.x-needed This issue needs to be ported to 1.X branch label Jun 2, 2025
Adding change log entry
@NoelStephensUnity NoelStephensUnity added port:1.x-completed This issue was ported to 1.X branch and removed port:1.x-needed This issue needs to be ported to 1.X branch labels Jun 2, 2025
Fixing XML API spelling issue and adjusting some of the text copy.
migrating SinglePlayerTransport into a subfolder of Transports.
@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
Copy link
Collaborator

@EmandM EmandM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀🚀

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

This is a backport of #3473

<!-- 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.
-->
@NoelStephensUnity NoelStephensUnity merged commit 144adee into develop-2.0.0 Jun 2, 2025
42 checks passed
@NoelStephensUnity NoelStephensUnity deleted the feat/add-singleplayer-transport-component branch June 2, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port:1.x-completed This issue was ported to 1.X branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants