Skip to content

Commit 29913e9

Browse files
Merge branch 'develop-2.0.0' into fix/networkanimator-allow-disabling-or-enabling-parameter-synch
2 parents aaf27e8 + f4b6cd4 commit 29913e9

File tree

1,059 files changed

+50661
-13398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,059 files changed

+50661
-13398
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
# Order is important; the last matching pattern takes the most precedence.
33

44
* @Unity-Technologies/multiplayer-sdk
5-
Profiling/ @Unity-Technologies/multiplayer-tools
6-
Metrics/ @Unity-Technologies/multiplayer-tools
7-
/com.unity.netcode.gameobjects/Runtime/Transports/ @Unity-Technologies/multiplayer-workflows
8-
/com.unity.netcode.gameobjects/Tests/Editor/Transports/ @Unity-Technologies/multiplayer-workflows
9-
/com.unity.netcode.gameobjects/Tests/Runtime/Transports/ @Unity-Technologies/multiplayer-workflows
10-
*.asmdef @chrispope @miniwolf
11-
package.json @chrispope @miniwolf
12-
AssemblyInfo.cs @chrispope @miniwolf
13-
.editorconfig @chrispope @miniwolf
14-
.gitignore @chrispope @miniwolf
15-
.github/ @chrispope @miniwolf
16-
.yamato/ @chrispope @miniwolf
5+
*.asmdef @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
6+
package.json @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
7+
AssemblyInfo.cs @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
8+
.editorconfig @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
9+
.gitignore @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
10+
.github/ @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
11+
.yamato/ @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
12+
com.unity.netcode.gameobjects/Documentation*/ @jabbacakes

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ If applicable, add screenshots to help explain your problem.
3636
- Unity Version: [e.g. 2020.3]
3737
- Netcode Version: [e.g. 1.0.0-pre.6]
3838
- Netcode Commit: [e.g. https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/commit/ba418fa5b600ad9eb61fab0575f12fbecc2c6520]
39+
- Netcode Topology: [e.g. Client-Server, Distributed Authority, etc.]
3940

4041
### Additional Context
4142

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: True
1+
blank_issues_enabled: False
22
contact_links:
33
- name: Documentation Issues
44
url: https://github.com/Unity-Technologies/com.unity.multiplayer.docs/issues
@@ -8,4 +8,10 @@ contact_links:
88
about: Join our Discord community for questions, support and discussions
99
- name: Unity Multiplayer Forum
1010
url: https://forum.unity.com/forums/multiplayer.26/
11-
about: Create a thread in the Unity Multiplayer Forum
11+
about: Create a thread in the Unity Multiplayer Forum
12+
- name: Support
13+
url: https://discussions.unity.com/tag/netcode-for-gameobjects
14+
about: Creating a thread in discussions is usually the fastest way to get help from Unity stuff or other experienced users
15+
- name: Feedback
16+
url: https://discussions.unity.com/tag/netcode-for-gameobjects
17+
about: We are always looking for feedback on our products, so please let us know what you think

.github/ISSUE_TEMPLATE/feedback.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/other-issues.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/support.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/codecov.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
codecov:
2+
require_ci_to_pass: false
3+
notify:
4+
wait_for_ci: true
5+
6+
coverage:
7+
precision: 2
8+
round: down
9+
range: "50...70"
10+
status:
11+
patch:
12+
default:
13+
if_ci_failed: success
14+
informational: true
15+
default_rules:
16+
flag_coverage_not_uploaded_behavior: exclude
17+
project:
18+
default:
19+
target: auto
20+
# Threshold used for the PR Check
21+
threshold: 0.5%
22+
base: auto
23+
if_ci_failed: success
24+
informational: true
25+
only_pulls: true
26+
27+
# PR Comment configuration
28+
comment:
29+
layout: "diff, flags, files, components"
30+
behavior: default
31+
require_changes: false
32+
require_base: false
33+
require_head: false
34+
# Set this to the number of coverage jobs run in the PR
35+
after_n_builds: 1
36+
37+
flag_management:
38+
default_rules:
39+
carryforward: true
40+
41+
# Components configuration
42+
component_management:
43+
individual_components:
44+
- component_id: "com.unity.netcode.gameobjects"
45+
name: "com.unity.netcode.gameobjects"
46+
paths:
47+
- com.unity.netcode.gameobjects

.github/pull_request_template.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

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

5-
<!-- Add RFC link here if applicable. -->
6-
75
## Changelog
86

97
- Added: The package whose Changelog should be added to should be in the header. Delete the changelog section entirely if it's not needed.
@@ -26,3 +24,13 @@
2624
- [ ] Deprecation of the API is explained in the CHANGELOG.
2725
- [ ] The users can understand why this API was removed and what they should use instead.
2826
-->
27+
28+
## Backport
29+
30+
<!-- If this is a backport:
31+
- Add the following to the PR title: "\[Backport\] ..." .
32+
- Link to the original PR.
33+
If this needs a backport - state this here
34+
If a backport is not needed please provide the reason why.
35+
If the "Backports" section is not present it will lead to a CI test failure.
36+
-->

.github/renovate.json5

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"baseBranches": ["develop", "develop-2.0.0"],
3+
"dependencyDashboard": true,
4+
5+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
6+
"extends": [
7+
"local>Unity-Technologies/unity-renovate-config"
8+
],
9+
"prConcurrentLimit": 100,
10+
// Ignore commits produced by GitHub actions workflows
11+
"gitIgnoredAuthors": ["[email protected]"],
12+
"ignorePaths": [
13+
"**/node_modules/**",
14+
// Don't renovate files in special folders using ~ as suffix
15+
"**/*~/**",
16+
"com.unity.netcode.gameobjects/**/*",
17+
"Examples/**/*",
18+
"testproject/**/*",
19+
"minimalproject/**/*",
20+
"testproject-tools-integration/**/*"
21+
],
22+
"packageRules": [
23+
// Run unity-upm-project and unity-upm-package only on weekends to reduce PR noise
24+
// Also ensure dependencies won't be downgraded when they don't exist in the public repositories
25+
{
26+
"matchManagers": [
27+
"unity-upm-project",
28+
"unity-upm-package"
29+
],
30+
"enabled": "true",
31+
"schedule": [
32+
"every weekend"
33+
],
34+
"rollbackPrs": false,
35+
}
36+
],
37+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# This workflow manages issue assignments and related label changes:
2+
# 1. When someone is assigned to an issue:
3+
# - Removes "stat:awaiting-triage" label
4+
# - Adds "stat:Investigating" label
5+
# 2. When all assignees are removed from an issue:
6+
# - Adds "stat:awaiting-triage" label
7+
# - Removes "stat:Investigating" label
8+
# 3. When "stat:Investigating" label is added:
9+
# - Automatically assigns the issue to the person who added the label
10+
11+
name: Handle Issue Assignment and Labels
12+
13+
on:
14+
issues:
15+
types: [assigned, unassigned, labeled]
16+
17+
env:
18+
AWAITING-TRIAGE_LABEL: stat:awaiting-triage
19+
INVESTIGATING_LABEL: stat:Investigating
20+
21+
jobs:
22+
handle_assignment:
23+
name: Handle Issue Assignment Changes
24+
if: ${{ !github.event.issue.pull_request && github.event.issue.state == 'open' }}
25+
runs-on: ubuntu-latest
26+
permissions:
27+
issues: write
28+
29+
steps:
30+
- name: Handle Assignment Changes
31+
run: |
32+
if [[ "${{ github.event.action }}" == "assigned" ]]; then
33+
# Someone was assigned - remove awaiting-triage, add investigating
34+
echo "ADD=${{ env.INVESTIGATING_LABEL }}" >> $GITHUB_ENV
35+
echo "REMOVE=${{ env.AWAITING-TRIAGE_LABEL }}" >> $GITHUB_ENV
36+
elif [[ "${{ github.event.action }}" == "unassigned" ]]; then
37+
# Check if there are any remaining assignees
38+
ASSIGNEES=$(echo '${{ toJson(github.event.issue.assignees) }}' | jq length)
39+
if [[ "$ASSIGNEES" == "0" ]]; then
40+
# No assignees left - add awaiting-triage, remove investigating
41+
echo "ADD=${{ env.AWAITING-TRIAGE_LABEL }}" >> $GITHUB_ENV
42+
echo "REMOVE=${{ env.INVESTIGATING_LABEL }}" >> $GITHUB_ENV
43+
fi
44+
fi
45+
46+
- name: Update Labels
47+
if: env.ADD != '' || env.REMOVE != ''
48+
run: gh issue edit "$NUMBER" --add-label "$ADD" --remove-label "$REMOVE"
49+
env:
50+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
GH_REPO: ${{ github.repository }}
52+
NUMBER: ${{ github.event.issue.number }}
53+
54+
handle_investigating_label:
55+
name: Handle Investigating Label Addition
56+
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stat:Investigating' && !github.event.issue.pull_request && github.event.issue.state == 'open' }}
57+
runs-on: ubuntu-latest
58+
permissions:
59+
issues: write
60+
61+
steps:
62+
- name: Assign Issue to person that added Investigating Label
63+
run: |
64+
# Assign the issue to the person who added the label
65+
gh issue edit "$NUMBER" --add-assignee "$ACTOR"
66+
env:
67+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
GH_REPO: ${{ github.repository }}
69+
NUMBER: ${{ github.event.issue.number }}
70+
ACTOR: ${{ github.actor }}

0 commit comments

Comments
 (0)