Skip to content

Commit

Permalink
fix: add preprocessor directives to filter out addressables code (#21)
Browse files Browse the repository at this point in the history
* update to unity 2022.3.8f1

* update visual studio code editor package

* add preprocessor directives for addressables code

* bump test runner version
  • Loading branch information
joaoborks authored Oct 19, 2023
1 parent 5bf7fe7 commit 82b0616
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
key: Library-${{ matrix.project-path }}
restore-keys: |
Library-
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down
5 changes: 3 additions & 2 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"dependencies": {
"com.cysharp.unitask": "2.3.3",
"com.mygamedevtools.script-template": "3.4.0",
"com.unity.addressables": "1.21.12",
"com.unity.addressables": "1.21.15",
"com.unity.feature.development": "1.0.1",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.4",
"com.unity.timeline": "1.7.5",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if ENABLE_ADDRESSABLES
using System;
using System.Collections.Generic;
using UnityEngine;
Expand Down Expand Up @@ -63,4 +64,5 @@ public IList<SceneInstance> GetResult()
return loadedScenes;
}
}
}
}
#endif
16 changes: 8 additions & 8 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"url": "https://package.openupm.com"
},
"com.unity.addressables": {
"version": "1.21.12",
"version": "1.21.15",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.scriptablebuildpipeline": "1.21.5",
"com.unity.scriptablebuildpipeline": "1.21.8",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
Expand Down Expand Up @@ -54,7 +54,7 @@
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.18",
"com.unity.ide.rider": "3.0.21",
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.2.2",
Expand All @@ -63,7 +63,7 @@
}
},
"com.unity.ide.rider": {
"version": "3.0.21",
"version": "3.0.24",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -72,8 +72,8 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.18",
"depth": 1,
"version": "2.0.22",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.9"
Expand All @@ -95,7 +95,7 @@
"url": "https://packages.unity.com"
},
"com.unity.scriptablebuildpipeline": {
"version": "1.21.5",
"version": "1.21.8",
"depth": 1,
"source": "registry",
"dependencies": {},
Expand Down Expand Up @@ -139,7 +139,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.7.4",
"version": "1.7.5",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2022.3.2f1
m_EditorVersionWithRevision: 2022.3.2f1 (d74737c6db50)
m_EditorVersion: 2022.3.8f1
m_EditorVersionWithRevision: 2022.3.8f1 (b5eafc012955)

0 comments on commit 82b0616

Please sign in to comment.