-
-
Notifications
You must be signed in to change notification settings - Fork 56
Drop support for Unity 2019 #2231
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
Changes from all commits
deb6aa7
a66a5a6
857e492
eefad70
16c9fcf
6542706
b48e60d
76e05b2
3fa372c
85fda3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
workflow_dispatch: # e.g. to manually trigger on foreign PRs | ||
|
||
env: | ||
LOWEST_SUPPORTED_UNITY_VERSION: 2019 | ||
LOWEST_SUPPORTED_UNITY_VERSION: 2020 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
DOTNET_NOLOGO: 1 | ||
|
||
|
@@ -54,7 +54,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
# Building the SDK with Unity 2022 and newer requires ns2.1 - skipping for now | ||
unity-version: ["2019", "2020", "2021"] | ||
unity-version: ["2020", "2021"] | ||
uses: ./.github/workflows/build.yml | ||
with: | ||
unity-version: ${{ matrix.unity-version }} | ||
|
@@ -87,7 +87,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have not found a way to get these out of the matrix into the environment. |
||
uses: ./.github/workflows/smoke-test-create.yml | ||
with: | ||
unity-version: ${{ matrix.unity-version }} | ||
|
@@ -101,7 +101,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
platform: ["WebGL", "Linux"] | ||
include: | ||
- platform: WebGL | ||
|
@@ -140,14 +140,6 @@ jobs: | |
run: ./scripts/ci-docker.sh '${{ matrix.unity-version }}' '${{ matrix.platform }}${{ matrix.image-suffix }}' '${{ secrets.UNITY_LICENSE_SERVER_CONFIG }}' | ||
shell: bash | ||
|
||
# Workaround for missing libMonoPosixHelper.so | ||
# See https://github.com/getsentry/sentry-unity/pull/1295 | ||
- name: Install mono-devel | ||
if: ${{ matrix.unity-version == '2019' }} | ||
run: | | ||
docker exec --user root unity apt-get update | ||
docker exec --user root unity apt-get -y -q install mono-devel | ||
|
||
- name: Download IntegrationTest project | ||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 | ||
with: | ||
|
@@ -213,7 +205,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
uses: ./.github/workflows/smoke-test-build-android.yml | ||
with: | ||
unity-version: ${{ matrix.unity-version }} | ||
|
@@ -232,7 +224,7 @@ jobs: | |
matrix: | ||
api-level: [30, 31, 34] # last updated January 2025 | ||
init-type: ["runtime", "buildtime"] | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
|
||
smoke-test-build-ios: | ||
name: Build iOS ${{ matrix.unity-version }} Smoke Test | ||
|
@@ -242,7 +234,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
uses: ./.github/workflows/smoke-test-build-ios.yml | ||
with: | ||
unity-version: ${{ matrix.unity-version }} | ||
|
@@ -255,7 +247,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
init-type: ["runtime", "buildtime"] | ||
uses: ./.github/workflows/smoke-test-compile-ios.yml | ||
with: | ||
|
@@ -274,7 +266,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
# Check https://support.apple.com/en-us/HT201222 for the latest minor version for a given major one. | ||
# https://developer.apple.com/support/app-store/ shows that of all iOS devices | ||
# - `iOS 17`: 86 % | ||
|
@@ -295,7 +287,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
platform: ["WebGL", "Linux"] | ||
steps: | ||
- name: Checkout | ||
|
@@ -333,7 +325,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-version: ["2019", "2022", "6000"] | ||
unity-version: ["2020", "2022", "6000"] | ||
# os: ["windows", "macos"] | ||
os: ["windows"] | ||
include: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
unity-prefix: ['2019', '2020', '2021', '2022', '6000'] | ||
unity-prefix: ['2020', '2021', '2022', '6000'] | ||
steps: | ||
- name: Find the latest Unity version | ||
id: version-select | ||
|
@@ -61,7 +61,7 @@ jobs: | |
ssh-key: ${{ secrets.CI_DEPLOY_KEY }} | ||
|
||
- name: Update sample ProjectVersion.txt | ||
if: ${{ matrix.unity-prefix == '2019' }} | ||
if: ${{ matrix.unity-prefix == '2020' }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is actually irrelevant. Unity 2020 LTS reached its EOL in mid-2023. Specifically, the final patch version was 2020.3.48. |
||
run: | | ||
"m_EditorVersion: ${{ steps.version-select.outputs.version }}`nm_EditorVersionWithRevision: ${{ steps.version-select.outputs.version }} (${{ steps.version-select.outputs.changeset }})" ` | ||
| Out-File "samples\unity-of-bugs\ProjectSettings\ProjectVersion.txt" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the version used for packaging.