There was an error while loading. Please reload this page.
2 parents bf612fb + 5780fed commit 79ffa05Copy full SHA for 79ffa05
Assets/Scripts/Editor/BuildScript.cs
@@ -189,8 +189,10 @@ public static void Build(string[] args)
189
{
190
#if UNITY_2023_2_OR_NEWER
191
graphicsAPIs.Add(GraphicsDeviceType.WebGPU);
192
+#if UNITY_6000_0_OR_NEWER
193
// Enable wasm2023 for WebGPU, since if webGPU is supported everything from 2023 is supported as well
194
PlayerSettings.WebGL.wasm2023 = true;
195
+#endif
196
#else
197
LogError("WebGPU not supported yet");
198
#endif
0 commit comments