Commit be34997
authored
fix: Block websocket use in dedicated server builds (#3336)
<!-- 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.
-->
Ensure users are not using websockets when building dedicated game
server builds
<!-- Add short version of the JIRA ticket to the PR title (e.g. "feat:
new shiny feature [MTT-123]") -->
[MTT-11522](https://jira.unity3d.com/browse/MTT-11522)
[MTTB-613](https://jira.unity3d.com/browse/MTTB-613)
<!-- Add RFC link here if applicable. -->
## Changelog
- Fixed: Blocks trying to create a dedicated server build with a
websocket connection on Unity Transport.
## Testing and Documentation
- No tests have been added.1 parent 0e475bc commit be34997
File tree
2 files changed
+16
-0
lines changed- com.unity.netcode.gameobjects
- Runtime/Transports/UTP
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
1671 | 1686 | | |
1672 | 1687 | | |
1673 | 1688 | | |
| |||
0 commit comments