Skip to content

Commit 079ca7d

Browse files
authored
Bump minimum editor version to 2021.3 (#612)
* Bump minimum Editor version to 2021.3 and package version to 2.4.1 * Add 6000.1 to CI and cleanup 2019.4 and 2020.3 * Add meta file
1 parent 6404c40 commit 079ca7d

8 files changed

+28
-22
lines changed

.yamato/global.metafile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
test_editors:
2-
- version: 2019.4
3-
- version: 2020.3
42
- version: 2021.3
53
- version: 2022.3
64
- version: 6000.0
5+
- version: 6000.1
76
- version: trunk
87

98
nightly_test_editors:
109
- version: 2021.3
1110
- version: 2022.3
1211
- version: 6000.0
12+
- version: 6000.1
1313
- version: trunk
1414

1515
clean_console_test_editors:
1616
- version: 2022.3
1717
- version: 6000.0
18+
- version: 6000.1
1819
- version: trunk
1920

2021
promotion_test_editors:
21-
- version: 2019.4
22+
- version: 2021.3
2223

2324
# Platforms used in CI
2425
win_platform: &win
@@ -115,6 +116,7 @@ hdrp_test_project_latest:
115116
path: TestProjects/AlembicHDRPLatest
116117
test_editors:
117118
- version: 2022.3
119+
- version: 6000.1
118120
- version: trunk
119121

120122
api_test_project:

.yamato/package-test.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ test_{{ platform.name }}_{{ editor.version }}:
1212
{% endif %}
1313
image: {{ platform.image }}
1414
flavor: {{ platform.flavor}}
15-
# Exclude 2019.4 from clean console test because of a known warning in console
16-
{% if editor.version != '2019.4' %}
1715
variables:
1816
UPMCI_ENABLE_APV_CLEAN_CONSOLE_TEST: 1
19-
{% endif %}
2017
commands:
2118
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
22-
# upm-ci uses unity-downloader-cli under the hood to download Editor and currently it always downloads x64 verion Editor no matter on which platform.
23-
# For 2019.4 and 2020.3, they don't have Silicon version Editor. So if the editor version is 2019.4 or 2020.3, or it is not a Silicon Mac platform nor ARM64 Windows, just call upm-ci which will use x64 version editor for testing.
24-
{% if editor.version == "2019.4" or editor.version == "2020.3" or platform.model != "M1" and platform.model != "arm" %}
19+
# If not on Silicon Mac nor ARM64 Windows, just call upm-ci which will use x64 version editor for testing.
20+
{% if platform.model != "M1" and platform.model != "arm" %}
2521
- upm-ci package test --unity-version {{ editor.version }} --package-path com.unity.formats.alembic
2622
{% else %}
2723
# Explicitly download ARM64 version Editor for 2021.3+(included) on Silicon Mac or ARM64 Windows.
@@ -45,11 +41,8 @@ vetting_test_{{ platform.name }}_{{ editor.version }}:
4541
{% endif %}
4642
image: {{ platform.image }}
4743
flavor: {{ platform.flavor}}
48-
# Exclude 2019.4 from clean console test because of a known warning in console
49-
{% if editor.version != '2019.4' %}
5044
variables:
5145
UPMCI_ENABLE_APV_CLEAN_CONSOLE_TEST: 1
52-
{% endif %}
5346
commands:
5447
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
5548
- upm-ci package test --unity-version {{ editor.version }} --type vetting-tests --package-path com.unity.formats.alembic

.yamato/project-test.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ test_project_{{ recorder_test_project.name }}_{{ platform.name }}_{{ editor.vers
1515
flavor: {{ platform.flavor}}
1616
commands:
1717
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
18-
# 2019.4 and 2020.3 doesn't have ARM64 version Editor, so download x64 version for them even if on Silicon Mac or ARM64 Windows. On other platforms, always download x64 version.
19-
{% if editor.version == "2019.4" or editor.version == "2020.3" or platform.model != "M1" and platform.model != "arm" %}
18+
{% if platform.model != "M1" and platform.model != "arm" %}
2019
- upm-ci project test --project-path {{ recorder_test_project.path }} --type project-tests --unity-version {{ editor.version }}
2120
{% else %}
2221
# Explicitly download ARM64 version Editor if on Silicon Mac or ARM64 Windows.
@@ -46,8 +45,7 @@ test_project_{{ standalone_test_project.name }}_{{ platform.name }}_{{ editor.ve
4645
flavor: {{ platform.flavor}}
4746
commands:
4847
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
49-
# 2019.4 and 2020.3 doesn't have ARM64 version Editor, so download x64 version for them even if on Silicon Mac or ARM64 Windows. On other platforms, always download x64 version.
50-
{% if editor.version == "2019.4" or editor.version == "2020.3" or platform.model != "M1" and platform.model != "arm" %}
48+
{% if platform.model != "M1" and platform.model != "arm" %}
5149
- upm-ci project test --project-path {{ standalone_test_project.path }} --type project-tests --unity-version {{ editor.version }} --platform standalone --extra-utr-arg=--RunPlayerViaEditor
5250
{% else %}
5351
# Explicitly download ARM64 version Editor if on Silicon Mac or ARM64 Windows.
@@ -77,9 +75,7 @@ test_project_{{ standalone_test_project.name }}_{{ platform.name }}_{{ editor.ve
7775
flavor: {{ platform.flavor}}
7876
commands:
7977
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
80-
# upm-ci uses unity-downloader-cli under the hood to download Editor and currently it always downloads x64 verion Editor no matter on which platform.
81-
# 2019.4 and 2020.3 doesn't have ARM64 version Editor, so download x64 version for them even if on Silicon Mac or ARM64 Windows. On other platforms, always download x64 version.
82-
{% if editor.version == "2019.4" or editor.version == "2020.3" or platform.model != "M1" and platform.model != "arm" %}
78+
{% if platform.model != "M1" and platform.model != "arm" %}
8379
- upm-ci project test --project-path {{ standalone_test_project.path }} --type project-tests --unity-version {{ editor.version }} --platform standalone --extra-utr-arg=--RunPlayerViaEditor
8480
{% else %}
8581
# Explicitly download ARM64 version Editor if on Silicon Mac or ARM64 Windows.

com.unity.formats.alembic/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Bump minimum Unity version to 2021.3.
10+
811
### Fixed
912
- Fixed crash when importing a corrupted Alembic file.
1013

com.unity.formats.alembic/Documentation~/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To install this package, follow the instructions in the [Package Manager documen
3838

3939
This version of Alembic for Unity is compatible with the following versions of the Unity Editor:
4040

41-
* 2019.3 and later (recommended)
41+
* 2021.3 and later (recommended)
4242

4343
### Limitations and known issues
4444

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ErrorExceptions": [
3+
{
4+
"ValidationTest": "Package Unity Version Validation",
5+
"ExceptionMessage": "The Unity version requirement is more strict than in the previous version of the package. Increment the minor version of the package to leave patch versions available for previous version. Read more about this error and potential solutions at https://docs.unity3d.com/Packages/com.unity.package-validation-suite@latest/index.html?preview=1&subfolder=/manual/package_unity_version_validation_error.html#the-unity-version-requirement-is-more-strict-than-in-the-previous-version-of-the-package",
6+
"PackageVersion": "2.4.1"
7+
}
8+
],
9+
"WarningExceptions": []
10+
}

com.unity.formats.alembic/ValidationExceptions.json.meta

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.formats.alembic/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"simulation"
1616
],
1717
"name": "com.unity.formats.alembic",
18-
"unity": "2019.4",
19-
"version": "2.4.0"
18+
"unity": "2021.3",
19+
"version": "2.4.1"
2020
}

0 commit comments

Comments
 (0)