Skip to content

Commit 79ffa05

Browse files
committed
Merge branch 'master' of https://github.com/JohannesDeml/UnityWebGL-LoadingTest into 2020.3
2 parents bf612fb + 5780fed commit 79ffa05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/Scripts/Editor/BuildScript.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,10 @@ public static void Build(string[] args)
189189
{
190190
#if UNITY_2023_2_OR_NEWER
191191
graphicsAPIs.Add(GraphicsDeviceType.WebGPU);
192+
#if UNITY_6000_0_OR_NEWER
192193
// Enable wasm2023 for WebGPU, since if webGPU is supported everything from 2023 is supported as well
193194
PlayerSettings.WebGL.wasm2023 = true;
195+
#endif
194196
#else
195197
LogError("WebGPU not supported yet");
196198
#endif

0 commit comments

Comments
 (0)