File tree Expand file tree Collapse file tree 10 files changed +32
-50
lines changed
com.chark.scriptable-scenes
Samples/MultipleScenes/Scripts Expand file tree Collapse file tree 10 files changed +32
-50
lines changed Original file line number Diff line number Diff line change 11# Scriptable Scenes
22
3- [ ![ Unity 2022.3 +] ( https://img.shields.io/badge/unity-2022.3 %2B-blue.svg )] ( https://unity3d.com/get-unity/download )
3+ [ ![ Unity 6000.0 +] ( https://img.shields.io/badge/unity-6000.0 %2B-blue.svg )] ( https://unity3d.com/get-unity/download )
44[ ![ openupm] ( https://img.shields.io/npm/v/com.chark.scriptable-scenes?label=openupm®istry_uri=https://package.openupm.com )] ( https://openupm.com/packages/com.chark.scriptable-scenes/ )
55[ ![ Actions Status] ( https://github.com/chark/scriptable-scenes/workflows/CI/badge.svg )] ( https://github.com/chark/scriptable-scenes/actions )
66
Original file line number Diff line number Diff line change 1616
1717 # Upload artifact (Unity_v20XX.X.XXXX.alf)
1818 - name : Expose as artifact
19- uses : actions/upload-artifact@v2
19+ uses : actions/upload-artifact@v4
2020 with :
2121 name : ${{ steps.getManualLicenseFile.outputs.filePath }}
2222 path : ${{ steps.getManualLicenseFile.outputs.filePath }}
Original file line number Diff line number Diff line change @@ -21,20 +21,20 @@ jobs:
2121 strategy :
2222 matrix :
2323 unityVersion :
24- - 2022.3.10f1
24+ - 6000.0.47f1
2525
2626 steps :
2727
2828 # Checkout (without LFS)
2929 - name : Checkout Repository
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v4
3131
3232 # Git LFS
3333 - name : Create LFS file list
3434 run : git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
3535
3636 - name : Restore LFS cache
37- uses : actions/cache@v2
37+ uses : actions/cache@v4
3838 id : lfs-cache
3939 with :
4040 path : .git/lfs
4747 git reset --hard
4848
4949 # Cache
50- - uses : actions/cache@v2
50+ - uses : actions/cache@v4
5151 with :
5252 path : Library
5353 key : Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
@@ -56,10 +56,12 @@ jobs:
5656
5757 # Test
5858 - name : Run Tests
59- uses : game-ci/unity-test-runner@v3.0.0
59+ uses : game-ci/unity-test-runner@v4
6060 id : tests
6161 env :
6262 UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
63+ UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
64+ UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
6365 with :
6466 githubToken : ${{ secrets.GITHUB_TOKEN }}
6567
Original file line number Diff line number Diff line change 1818 SAMPLE_DST_DIR : Samples~
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0
2424
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ internal static void Load(this ScriptableSceneCollection collection)
9999 return ;
100100 }
101101
102- var sceneController = Object . FindObjectOfType < ScriptableSceneController > ( ) ;
102+ var sceneController = Object . FindFirstObjectByType < ScriptableSceneController > ( ) ;
103103 if ( sceneController )
104104 {
105105 sceneController . LoadSceneCollection ( collection ) ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ private enum CollectionLoadMode
101101
102102 private void Awake ( )
103103 {
104- var otherController = FindObjectOfType < ScriptableSceneController > ( ) ;
104+ var otherController = FindFirstObjectByType < ScriptableSceneController > ( ) ;
105105 if ( otherController && otherController != this )
106106 {
107107 var controllerGameObject = otherController . gameObject ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ internal static void RaiseLoadScene(ScriptableSceneCollection collection)
2828
2929 private static void SetupSceneController ( )
3030 {
31- sceneController = Object . FindObjectOfType < ScriptableSceneController > ( ) ;
31+ sceneController = Object . FindFirstObjectByType < ScriptableSceneController > ( ) ;
3232 }
3333 }
3434}
Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
3- "com.unity.ai.navigation " : " 1.1.4 " ,
4- "com.unity.ide.rider " : " 3.0.25 " ,
5- "com.unity.test-framework " : " 1.1.33 " ,
6- "com.unity.textmeshpro " : " 3 .0.6 "
3+ "com.unity.ide.rider " : " 3.0.37 " ,
4+ "com.unity.test-framework " : " 1.5.1 " ,
5+ "com.unity.ugui " : " 2.0.0 " ,
6+ "com.unity.modules.accessibility " : " 1 .0.0 "
77 }
88}
Original file line number Diff line number Diff line change 66 "source" : " embedded" ,
77 "dependencies" : {}
88 },
9- "com.unity.ai.navigation" : {
10- "version" : " 1.1.4" ,
11- "depth" : 0 ,
12- "source" : " registry" ,
13- "dependencies" : {
14- "com.unity.modules.ai" : " 1.0.0"
15- },
16- "url" : " https://packages.unity.com"
17- },
189 "com.unity.ext.nunit" : {
19- "version" : " 1 .0.6 " ,
10+ "version" : " 2 .0.5 " ,
2011 "depth" : 1 ,
21- "source" : " registry" ,
22- "dependencies" : {},
23- "url" : " https://packages.unity.com"
12+ "source" : " builtin" ,
13+ "dependencies" : {}
2414 },
2515 "com.unity.ide.rider" : {
26- "version" : " 3.0.25 " ,
16+ "version" : " 3.0.37 " ,
2717 "depth" : 0 ,
2818 "source" : " registry" ,
2919 "dependencies" : {
3222 "url" : " https://packages.unity.com"
3323 },
3424 "com.unity.test-framework" : {
35- "version" : " 1.1.33 " ,
25+ "version" : " 1.5.1 " ,
3626 "depth" : 0 ,
37- "source" : " registry " ,
27+ "source" : " builtin " ,
3828 "dependencies" : {
39- "com.unity.ext.nunit" : " 1 .0.6 " ,
29+ "com.unity.ext.nunit" : " 2 .0.3 " ,
4030 "com.unity.modules.imgui" : " 1.0.0" ,
4131 "com.unity.modules.jsonserialize" : " 1.0.0"
42- },
43- "url" : " https://packages.unity.com"
44- },
45- "com.unity.textmeshpro" : {
46- "version" : " 3.0.6" ,
47- "depth" : 0 ,
48- "source" : " registry" ,
49- "dependencies" : {
50- "com.unity.ugui" : " 1.0.0"
51- },
52- "url" : " https://packages.unity.com"
32+ }
5333 },
5434 "com.unity.ugui" : {
55- "version" : " 1 .0.0" ,
56- "depth" : 1 ,
35+ "version" : " 2 .0.0" ,
36+ "depth" : 0 ,
5737 "source" : " builtin" ,
5838 "dependencies" : {
5939 "com.unity.modules.ui" : " 1.0.0" ,
6040 "com.unity.modules.imgui" : " 1.0.0"
6141 }
6242 },
63- "com.unity.modules.ai " : {
43+ "com.unity.modules.accessibility " : {
6444 "version" : " 1.0.0" ,
65- "depth" : 1 ,
45+ "depth" : 0 ,
6646 "source" : " builtin" ,
6747 "dependencies" : {}
6848 },
8060 },
8161 "com.unity.modules.ui" : {
8262 "version" : " 1.0.0" ,
83- "depth" : 2 ,
63+ "depth" : 1 ,
8464 "source" : " builtin" ,
8565 "dependencies" : {}
8666 }
Original file line number Diff line number Diff line change 1- m_EditorVersion: 2022.3.10f1
2- m_EditorVersionWithRevision: 2022.3.10f1 (ff3792e53c62 )
1+ m_EditorVersion: 6000.0.47f1
2+ m_EditorVersionWithRevision: 6000.0.47f1 (2ad1ed33fd3b )
You can’t perform that action at this time.
0 commit comments