Skip to content

Commit e1f559b

Browse files
committed
corrected Switch sdk version
1 parent 9a5e810 commit e1f559b

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.yamato/console-standalone-test.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ console_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
5050
{% endif %}
5151
commands:
5252
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c il2cpp -c {{ platform.name }}
53-
{% if platform.name == "switch" %}
54-
# TEMPORARY DIAGNOSTIC (MTT-12118): print which installed Nintendo SDKs contain NvnImage.dll and which nintendo-switch-support version the editor expects, to pick the correct NINTENDO_SDK_ROOT. Remove once the SDK version is chosen.
55-
- powershell -Command "Write-Host '--- SWITCH SDK DIAGNOSTIC (MTT-12118) ---'; Get-ChildItem C:\Nintendo -Directory -ErrorAction SilentlyContinue | ForEach-Object { $d = Join-Path $_.FullName 'NintendoSDK\Tools\Graphics\NvnTools\NvnImage.dll'; Write-Host ('SDK ' + $_.Name + ' NvnImage.dll=' + (Test-Path $d)) }; $sup = Get-ChildItem -Path .Editor -Recurse -Directory -Filter 'nintendo-switch-support' -ErrorAction SilentlyContinue | Select-Object -First 1; if ($sup) { Get-ChildItem $sup.FullName -Directory | ForEach-Object { Write-Host ('editor-expects-switch-support ' + $_.Name) } } else { Write-Host 'nintendo-switch-support dir not found under .Editor' }"
56-
{% endif %}
5753
- UnifiedTestRunner --testproject={{ project.path }} --architecture={% if platform.name == "switch" %}arm64{% else %}x64{% endif %} --scripting-backend=il2cpp --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --artifacts-path=artifacts --player-save-path=build/players --testfilter="Unity.Netcode.RuntimeTests.*" --extra-editor-arg=-batchmode --extra-editor-arg=-nographics{% if platform.name == "switch" %} --extra-editor-arg=-overrideTextureCompression --extra-editor-arg=ForceUncompressed{% endif %} --reruncount=1 --clean-library-on-rerun --build-only --timeout={{ test_timeout}}
5854
variables:
5955
# PS4 related
@@ -62,8 +58,8 @@ console_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
6258
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\13.000'
6359
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\host_tools\bin'
6460
SCE_ROOT_DIR: 'C:\Program Files (x86)\SCE'
65-
# Switch related --> win10-switch:v4 unsets NINTENDO_SDK_ROOT, so set it explicitly to the installed SDK 22.2.0.
66-
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-22_2_0\NintendoSDK'
61+
# Switch related --> win10-switch:v4 unsets NINTENDO_SDK_ROOT, so set it explicitly. SDK 21.4.0 is installed on the image AND matches the editor playback engine's nintendo-switch-support version (21_04); the newer 22.2.0 is NOT installed on this image.
62+
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-21_4_0\NintendoSDK'
6763
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
6864
artifacts:
6965
players:
@@ -101,8 +97,8 @@ console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
10197
SCE_PROSPERO_SDK_DIR: 'C:\Program Files (x86)\SCE\Prospero SDKs\13.000'
10298
SHADER_COMPILER_PATH: '${SCE_PROSPERO_SDK_DIR}\host_tools\bin'
10399
SCE_ROOT_DIR: 'C:\Program Files (x86)\SCE'
104-
# Switch related --> win10-switch:v4 unsets NINTENDO_SDK_ROOT, so set it explicitly to the installed SDK 22.2.0.
105-
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-22_2_0\NintendoSDK'
100+
# Switch related --> win10-switch:v4 unsets NINTENDO_SDK_ROOT, so set it explicitly. SDK 21.4.0 is installed on the image AND matches the editor playback engine's nintendo-switch-support version (21_04); the newer 22.2.0 is NOT installed on this image.
101+
NINTENDO_SDK_ROOT: 'C:\Nintendo\nintendosdk-en-21_4_0\NintendoSDK'
106102
UNITY_NINTENDOSDK_CLI_TOOLS: '${NINTENDO_SDK_ROOT}\Tools\CommandLineTools'
107103
artifacts:
108104
logs:

0 commit comments

Comments
 (0)