-
Notifications
You must be signed in to change notification settings - Fork 136
Added Dedicated Game Server Sample (experimental) #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
cbb4568
feat: dgs core [MTT-6058] (#1)
95678c4
feat: adding dedicated server package to DGS sample [MTT-6834] (#2)
0ae3671
Merge branch 'develop' into sample/DGS
a7bbdca
feature: adding DGS sample to CI [MTT-7459] (#3)
4c1e416
feat: player character and base level design [MTT-6059][MTT-7372][MTT…
41c4457
feat: DGS Sample AI characters [MTT-6062] (#6)
14ff3bb
feature: add readme to DGS sample (#7)
0b1a346
Merge branch 'main' into develop
fernando-cortez 8e2fbaa
Project version upgrade + mini fix [MTT-7789] (#10)
adc44f9
Doors integration [MTT-6061] (#12)
4fca0df
chore: updated multiplayer packages to solve UGS integration issues
ffea108
DGS door UI (#13)
fdd2f39
DGS readme corrections [MTT-7869] (#14)
e6cbd25
Feature: Dedicated Game Server Sample Art Pass [MTT-7403] (#8)
jilfranco-unity 257eddf
merge with public/develop
RikuTheFuffs 672d472
[DGS] Unneded systems strip [MTT-8054] (#15)
95578d3
Fixed incorrect CI settings (#16)
a85144c
chore: updated dedicated server and multiplayer play mode packages to…
bdec24b
chore: updated documentation links
edaa9b1
chore: removed unneeded folders
f4e5bea
chore: added instructions related to how to change the amount of play…
c59777a
Merge branch 'main' into sample/DGS-2
RikuTheFuffs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| {% metadata_file .yamato/project.metafile %} | ||
| --- | ||
|
|
||
| # Run all relevant tasks when a pull request targets the develop / main or a sample branch | ||
| pull_request_trigger: | ||
| name: Pull Request Trigger (main, develop, & sample branches) | ||
| dependencies: | ||
| {% for project in projects -%} | ||
| {% for editor in project.test_editors -%} | ||
| {% for platform in test_platforms -%} | ||
| - .yamato/build.yml#build_{{ project.name }}_{{ editor }}_{{ platform.name }} | ||
fernando-cortez marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| {% if project.run_editor_tests or project.run_playmode_tests -%} # Only run tests for projects where relevant | ||
| - .yamato/tests.yml#test_{{ project.name }}_{{ editor }}_{{ platform.name }} | ||
| {% endif -%} | ||
| {% endfor -%} | ||
| {% endfor -%} | ||
| {% endfor -%} | ||
| triggers: | ||
| cancel_old_ci: true | ||
| pull_requests: | ||
| - targets: | ||
| only: | ||
| - "main" | ||
| - "develop" | ||
| - "/^sample\//" | ||
|
|
||
| # Run all tasks on the bitesize sample develop branch (head) when there is a push to the Netcode for GameObjects develop branch | ||
| external_ngo_develop_pull_request_trigger: | ||
| name: Netcode for GameObjects (External) Develop Branch Triggers | ||
| dependencies: | ||
| {% for project in projects -%} | ||
| {% for editor in project.test_editors -%} | ||
| {% for platform in test_platforms -%} | ||
| - .yamato/build.yml#build_{{ project.name }}_{{ editor }}_{{ platform.name }} | ||
| {% endfor -%} | ||
| {% endfor -%} | ||
| {% endfor -%} | ||
| triggers: | ||
| external: | ||
| source: git@github.com/Unity-Technologies/com.unity.netcode.gameobjects.git | ||
| expression: push.branch eq "develop" | ||
| refs_on_this_repository: | ||
| - develop | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,59 @@ | ||
| # Editors where tests will happen. The first entry of this array is also used | ||
| # for validation. | ||
| # | ||
| # Therefore, **do not** put an older V1-lifecycle ver. | ||
| # like 2020.x or 2019.x on top of 'test_editors' | ||
| test_editors: | ||
| - 2022.3 | ||
|
|
||
| # Platforms that will be tested. The first entry in this array will also | ||
| # be used for validation | ||
| test_platforms: | ||
| - name: win | ||
| type: Unity::VM | ||
| image: package-ci/win10:stable | ||
| image: package-ci/win10:v4.36.0 | ||
| platform: StandaloneWindows64 | ||
| flavor: b1.large | ||
| - name: mac | ||
| type: Unity::VM::osx | ||
| image: package-ci/mac:stable | ||
| image: package-ci/macos-13:v4 | ||
| platform: StandaloneOSX | ||
| flavor: m1.mac | ||
|
|
||
| # Projects within the repository that will be tested. Name will be used | ||
| # for job ids, so it should not contain spaces/non-supported characters | ||
| # Projects within the repository that will be tested. Name will be used for job ids, so it should not contain spaces/non-supported characters | ||
| # The test-editors field is for editors where tests will happen. The first entry of this array is also used | ||
| # for validation. Therefore, **do not** put an older V1-lifecycle ver. like 2020.x or 2019.x on top of 'test_editors' | ||
| projects: | ||
| - name: 2dspaceshooter | ||
| path: Basic/2DSpaceShooter | ||
| test_editors: | ||
| - 2022.3 | ||
| run_editor_tests: !!bool false | ||
| run_playmode_tests: !!bool false | ||
| test_filter: | ||
| - name: invaders | ||
| path: Basic/Invaders | ||
| test_editors: | ||
| - 2022.3 | ||
| run_editor_tests: !!bool false | ||
| run_playmode_tests: !!bool false | ||
| test_filter: | ||
| - name: clientdriven | ||
| path: Basic/ClientDriven | ||
| test_editors: | ||
| - 2022.3 | ||
| run_editor_tests: !!bool false | ||
| run_playmode_tests: !!bool false | ||
| test_filter: | ||
| - name: dynamicaddressablesnetworkprefabs | ||
| path: Basic/DynamicAddressablesNetworkPrefabs | ||
| test_editors: | ||
| - 2022.3 | ||
| run_editor_tests: !!bool false | ||
| run_playmode_tests: !!bool false | ||
| test_filter: | ||
| - name: dedicatedgameserver | ||
| path: Experimental/DedicatedGameServer | ||
| test_editors: | ||
| - 2023.3.0a17 | ||
| run_editor_tests: !!bool false | ||
| run_playmode_tests: !!bool true | ||
| test_filter: Unity.DedicatedGameServerSample.Tests | ||
| - name: multiplayerusecases | ||
| path: Experimental/MultiplayerUsecases | ||
| path: Experimental/MultiplayerUseCases | ||
| test_editors: | ||
| - 2022.3 | ||
| run_editor_tests: !!bool true | ||
| run_playmode_tests: !!bool false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| {% metadata_file .yamato/project.metafile %} | ||
| --- | ||
|
|
||
| {% for project in projects -%} | ||
| {% for editor in project.test_editors -%} | ||
| {% for platform in test_platforms -%} | ||
| test_{{ project.name }}_{{ editor }}_{{ platform.name }}: | ||
| name: {{ project.name }} project tests - {{ editor }} on {{ platform.name }} | ||
| variables: | ||
| UTR_VERSION: current | ||
| agent: | ||
| type: {{ platform.type }} | ||
| image: {{ platform.image }} | ||
| flavor: {{ platform.flavor}} | ||
| commands: | ||
| - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple | ||
| - unity-downloader-cli -u {{ editor }} -c editor -w --fast | ||
| {% if platform.name == "win" -%} #windows | ||
| - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat | ||
| {% if project.run_editor_tests -%} # Only run editor tests for projects where relevant | ||
| - utr --suite=editor --editor-location=.Editor --testproject={{ project.path }} --testfilter={{ project.test_filter }} --artifacts-path=testlogs | ||
| {% endif -%} | ||
| {% if project.run_playmode_tests -%} # Only run playmode tests for projects where relevant | ||
| - utr --suite=playmode --editor-location=.Editor --testproject={{ project.path }} --testfilter={{ project.test_filter }} --artifacts-path=testlogs | ||
| {% endif -%} | ||
| {% else -%} | ||
| - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr | ||
| - chmod +x utr | ||
| {% if project.run_editor_tests -%} # Only run editor tests for projects where relevant | ||
| - ./utr --suite=editor --editor-location=.Editor --testproject={{ project.path }} --testfilter={{ project.test_filter }} --artifacts-path=testlogs | ||
| {% endif -%} | ||
| {% if project.run_playmode_tests -%} # Only run playmode tests for projects where relevant | ||
| - ./utr --suite=playmode --editor-location=.Editor --testproject={{ project.path }} --testfilter={{ project.test_filter }} --artifacts-path=testlogs | ||
| {% endif -%} | ||
| {% endif -%} | ||
| artifacts: | ||
| logs: | ||
| paths: | ||
| - "testlogs/**" | ||
|
|
||
| {% endfor -%} | ||
| {% endfor -%} | ||
| {% endfor -%} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Experimental/DedicatedGameServer/AdditionalBuildFiles/Client/startupConfiguration.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "MinPlayers" : "2", | ||
| "MaxPlayers" : "8", | ||
| "AutoConnect" : "false" | ||
| } |
5 changes: 5 additions & 0 deletions
5
Experimental/DedicatedGameServer/AdditionalBuildFiles/Server/startupConfiguration.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "MinPlayers" : "2", | ||
| "MaxPlayers" : "8", | ||
| "AutoConnect" : "false" | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Experimental/DedicatedGameServer/Assets/Art/AnimationControllers.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.