From 51ba786b01111bfe284bf20a9265bb47ab923aa9 Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Tue, 19 Aug 2025 14:14:22 +0200 Subject: [PATCH 1/7] added device id for test --- .yamato/mobile-standalone-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/mobile-standalone-test.yml b/.yamato/mobile-standalone-test.yml index 8169d34e8d..63446a862f 100644 --- a/.yamato/mobile-standalone-test.yml +++ b/.yamato/mobile-standalone-test.yml @@ -96,7 +96,7 @@ mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}: {% else %} # Run tests for non-Android devices - - UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --artifacts-path=test-results --player-load-path=build/players --testproject={{ project.path }} --editor-location=.Editor --fail-on-assert --reruncount=1 --clean-library-on-rerun --timeout=3600 + - UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --artifacts-path=test-results --player-load-path=build/players --testproject={{ project.path }} --editor-location=.Editor --fail-on-assert --reruncount=1 --clean-library-on-rerun --timeout=3600 --device-id=%BOKKEN_DEVICE_ID% {% endif %} artifacts: logs: From e8a807807e154c13c64980a043798723f58fa648 Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Tue, 19 Aug 2025 15:16:50 +0200 Subject: [PATCH 2/7] Updated iphone model to SE-Gen3 --- .yamato/project.metafile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.yamato/project.metafile b/.yamato/project.metafile index 16ae803aa7..37445074e7 100644 --- a/.yamato/project.metafile +++ b/.yamato/project.metafile @@ -10,7 +10,7 @@ # image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration # flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac) # standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS) - # model --> Defines specific hardware model requirements (e.g., rtx2080, SE for iPhone SE) + # model --> Defines specific hardware model requirements (e.g., rtx2080, SE-Gen3 for iPhone SE-Gen3) # base --> Indicates the base operating system for build operations (e.g., win, mac) # architecture --> Specifies the target CPU architecture (e.g., armv7, arm64) @@ -89,7 +89,7 @@ test_platforms: type: Unity::mobile::iPhone image: package-ci/macos-13-arm64:v4 flavor: m1.mac - model: SE + model: SE-Gen3 standalone: IOS base: mac architecture: arm64 From 777590e26b5f2b602239978eafa30869a3e1eb14 Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Tue, 19 Aug 2025 15:20:42 +0200 Subject: [PATCH 3/7] docs --- .yamato/project.metafile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/project.metafile b/.yamato/project.metafile index 37445074e7..3e54b196b8 100644 --- a/.yamato/project.metafile +++ b/.yamato/project.metafile @@ -10,7 +10,7 @@ # image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration # flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac) # standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS) - # model --> Defines specific hardware model requirements (e.g., rtx2080, SE-Gen3 for iPhone SE-Gen3) + # model --> Defines specific hardware model requirements (e.g., rtx2080, SE-Gen3 for iPhone SE-Gen3). Notice that trunk currently (19.08.2025) has 15.0 as minimal iOS version which devices below this are not supporting # base --> Indicates the base operating system for build operations (e.g., win, mac) # architecture --> Specifies the target CPU architecture (e.g., armv7, arm64) From aee2ea043204ff629fb4317a345cd5ff572c8d8a Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Wed, 20 Aug 2025 13:24:32 +0200 Subject: [PATCH 4/7] Updated model to 15 --- .yamato/project.metafile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.yamato/project.metafile b/.yamato/project.metafile index 3e54b196b8..038bcfdede 100644 --- a/.yamato/project.metafile +++ b/.yamato/project.metafile @@ -10,7 +10,7 @@ # image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration # flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac) # standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS) - # model --> Defines specific hardware model requirements (e.g., rtx2080, SE-Gen3 for iPhone SE-Gen3). Notice that trunk currently (19.08.2025) has 15.0 as minimal iOS version which devices below this are not supporting + # model --> Defines specific hardware model requirements (e.g., rtx2080, iPhone model 15). Notice that trunk currently (19.08.2025) has 15.0 as minimal iOS version which devices below this are not supporting # base --> Indicates the base operating system for build operations (e.g., win, mac) # architecture --> Specifies the target CPU architecture (e.g., armv7, arm64) @@ -89,7 +89,7 @@ test_platforms: type: Unity::mobile::iPhone image: package-ci/macos-13-arm64:v4 flavor: m1.mac - model: SE-Gen3 + model: 15 standalone: IOS base: mac architecture: arm64 From 5b60fe02557405db9946dc17cff864fad8bc3d1d Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Thu, 21 Aug 2025 14:05:23 +0200 Subject: [PATCH 5/7] trying model 13 --- .yamato/project.metafile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.yamato/project.metafile b/.yamato/project.metafile index 038bcfdede..544164b082 100644 --- a/.yamato/project.metafile +++ b/.yamato/project.metafile @@ -10,7 +10,7 @@ # image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration # flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac) # standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS) - # model --> Defines specific hardware model requirements (e.g., rtx2080, iPhone model 15). Notice that trunk currently (19.08.2025) has 15.0 as minimal iOS version which devices below this are not supporting + # model --> Defines specific hardware model requirements (e.g., rtx2080, iPhone model 13). Notice that trunk currently (19.08.2025) has 13.0 as minimal iOS version which devices below this are not supporting # base --> Indicates the base operating system for build operations (e.g., win, mac) # architecture --> Specifies the target CPU architecture (e.g., armv7, arm64) @@ -89,7 +89,7 @@ test_platforms: type: Unity::mobile::iPhone image: package-ci/macos-13-arm64:v4 flavor: m1.mac - model: 15 + model: 13 standalone: IOS base: mac architecture: arm64 From aeb86e5243d19f32f156ea2fbb794140c7bfcc9d Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Fri, 22 Aug 2025 10:39:57 +0200 Subject: [PATCH 6/7] Added required env variable --- .yamato/mobile-standalone-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.yamato/mobile-standalone-test.yml b/.yamato/mobile-standalone-test.yml index 63446a862f..5c18035ea8 100644 --- a/.yamato/mobile-standalone-test.yml +++ b/.yamato/mobile-standalone-test.yml @@ -48,6 +48,11 @@ mobile_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: {% if platform.model %} model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile) {% endif %} + # Automatic UI interruption handling is available for iPhones running iOS 15 and above (models SE-Gen3 and 13). + # It is enabled by default when using those devices. Otherwise, system alerts (e.g. “Local Network Access” permission alert, introduced in iOS 14) might cause disruptions during test execution. + # If building of the test app is done on a separate (“Build”) job, please make sure that that job has environment variable UNITY_HANDLEUIINTERRUPTIONS set to 1. + env: + UNITY_HANDLEUIINTERRUPTIONS: 1 commands: - unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c il2cpp {% if platform.base == "mac" %} -c ios {% else %} -c android {% endif %} - UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --testproject={{ project.path }} --architecture={{ platform.architecture }} --scripting-backend=il2cpp --editor-location=.Editor --artifacts-path=artifacts --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 From a60f5edafbf39d8253d68dfff3c0bd81c1bd3da7 Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Fri, 22 Aug 2025 12:40:06 +0200 Subject: [PATCH 7/7] name correction --- .yamato/mobile-standalone-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/mobile-standalone-test.yml b/.yamato/mobile-standalone-test.yml index 5c18035ea8..e7c270948e 100644 --- a/.yamato/mobile-standalone-test.yml +++ b/.yamato/mobile-standalone-test.yml @@ -51,7 +51,7 @@ mobile_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: # Automatic UI interruption handling is available for iPhones running iOS 15 and above (models SE-Gen3 and 13). # It is enabled by default when using those devices. Otherwise, system alerts (e.g. “Local Network Access” permission alert, introduced in iOS 14) might cause disruptions during test execution. # If building of the test app is done on a separate (“Build”) job, please make sure that that job has environment variable UNITY_HANDLEUIINTERRUPTIONS set to 1. - env: + variables: UNITY_HANDLEUIINTERRUPTIONS: 1 commands: - unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c il2cpp {% if platform.base == "mac" %} -c ios {% else %} -c android {% endif %}