From 14371d6ee72d1489bc87ee94fb7d96eb00a1903c Mon Sep 17 00:00:00 2001 From: Gie Max Vanommeslaeghe Date: Thu, 2 May 2024 10:03:53 +0200 Subject: [PATCH] Update ASDK version for newer unity releases --- com.unity.renderstreaming/Editor/RenderStreamingWizard.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com.unity.renderstreaming/Editor/RenderStreamingWizard.cs b/com.unity.renderstreaming/Editor/RenderStreamingWizard.cs index f8281c1f7..59f8c8c72 100644 --- a/com.unity.renderstreaming/Editor/RenderStreamingWizard.cs +++ b/com.unity.renderstreaming/Editor/RenderStreamingWizard.cs @@ -21,7 +21,9 @@ internal class RenderStreamingWizard : EditorWindow BuildTarget.Android }; -#if UNITY_2021_1_OR_NEWER +#if UNITY_6000_0_OR_NEWER + const AndroidSdkVersions RequiredAndroidSdkVersion = AndroidSdkVersions.AndroidApiLevel23; +#elif UNITY_2021_1_OR_NEWER const AndroidSdkVersions RequiredAndroidSdkVersion = AndroidSdkVersions.AndroidApiLevel22; #else const AndroidSdkVersions RequiredAndroidSdkVersion = AndroidSdkVersions.AndroidApiLevel21;