Skip to content

Commit a3e41f5

Browse files
fix: PVP issues related to assemblies, file names, and other non-xml-API related (#3444)
## PVP Fixes This includes fixes for all remaining NGO v2.x PVP errors. Depends upon [PR-720](Unity-Technologies/com.unity.multiplayer.tools#720) <!-- Add short version of the JIRA ticket to the PR title (e.g. "feat: new shiny feature [MTT-123]") --> ## Changelog NA ## Testing and Documentation - Tools tests have been migrated to multiplayer tools repository. - Tools test project was removed. - Includes adding `[Obsolete]` to a couple of legacy test related methods not used by anything. - Includes updating tests or test related classes, enums, structs (all unique for existing NGO tests) from being public to internal. - Includes XML API documentation changes. ### Deprecated API - [X] An `[Obsolete]` attribute was added. - [ ] An `[Obsolete]` attribute was added along with a `(RemovedAfter yyyy-mm-dd)` entry. - [ ] An [api updater] was added. - [ ] Deprecation of the API is explained in the CHANGELOG. - [ ] The users can understand why this API was removed and what they should use instead. ## Backport A backport similar to this will be required but will not be these specific changes. --------- Co-authored-by: michalChrobot <[email protected]>
1 parent bdcb40b commit a3e41f5

File tree

174 files changed

+1409
-6922
lines changed

Some content is hidden

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

174 files changed

+1409
-6922
lines changed

.yamato/package-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ package_pack_-_ngo_{{ platform.name }}:
3535
{% endif %}
3636
timeout: 0.25
3737
variables:
38-
XRAY_PROFILE: "supported ./pvpExceptions.json"
38+
XRAY_PROFILE: "gold ./pvpExceptions.json"
3939
commands:
4040
- upm-pvp pack "com.unity.netcode.gameobjects" --output upm-ci~/packages
4141
- upm-pvp xray --packages "upm-ci~/packages/com.unity.netcode.gameobjects*.tgz" --results pvp-results

.yamato/package-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ package_test_-_ngo_{{ editor }}_{{ platform.name }}:
3636
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
3737
{% endif %}
3838
variables:
39-
XRAY_PROFILE: "supported ./pvpExceptions.json"
39+
XRAY_PROFILE: "gold ./pvpExceptions.json"
4040
UNITY_EXT_LOGGING: 1
4141
commands:
4242
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models.

.yamato/project.metafile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,3 @@ projects:
184184
- name: minimalproject
185185
path: minimalproject
186186
has_tests: false
187-
- name: testproject-tools-integration
188-
path: testproject-tools-integration
189-
has_tests: true

com.unity.netcode.gameobjects/Editor/AssemblyInfo.cs

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

33
#if UNITY_INCLUDE_TESTS
44
#if UNITY_EDITOR
5-
[assembly: InternalsVisibleTo("Unity.Netcode.EditorTests")]
6-
[assembly: InternalsVisibleTo("TestProject.RuntimeTests")]
5+
[assembly: InternalsVisibleTo("Unity.Netcode.Editor.Tests")]
6+
[assembly: InternalsVisibleTo("TestProject.Runtime.Tests")]
77
#endif // UNITY_EDITOR
88
#endif // UNITY_INCLUDE_TESTS
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
{
2-
"name": "Unity.Netcode.Editor.PackageChecker",
2+
"name": "Unity.Netcode.PackageChecker.Editor",
33
"rootNamespace": "Unity.Netcode.Editor.PackageChecker",
4+
"references": [],
45
"includePlatforms": [
56
"Editor"
67
],
8+
"excludePlatforms": [],
9+
"allowUnsafeCode": false,
10+
"overrideReferences": false,
11+
"precompiledReferences": [],
12+
"autoReferenced": true,
13+
"defineConstraints": [],
714
"versionDefines": [
815
{
916
"name": "com.unity.netcode.adapter.utp",
1017
"expression": "",
1118
"define": "COM_UNITY_NETCODE_ADAPTER_UTP"
1219
}
13-
]
20+
],
21+
"noEngineReferences": false
1422
}

0 commit comments

Comments
 (0)