I’ve been trying to build a webgl game. using the unity lego microgame package.
the games menu will work but when i click play to load the next scene i get an error stating:
“WebGL: RuntimeError: memory access out of bounds.”
i noticed when i build the game i get the following error:
ArgumentException: Scene file not found: ‘’.
UnityEditor.SceneManagement.EditorSceneManager.OpenScene (System.String scenePath, UnityEditor.SceneManagement.OpenSceneMode mode) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEditor.SceneManagement.EditorSceneManager.OpenScene (System.String scenePath) (at <8d21067e8d9c494db25a2b2485216e63>:0)
LEGOModelImporter.ProcessHelper.ProcessAssets (System.Func2[T,TResult] processAction) (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Editor/ProcessBuild.cs:131) LEGOModelImporter.PreProcessBuild.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Editor/ProcessBuild.cs:32) UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass15_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at <8d21067e8d9c494db25a2b2485216e63>:0) UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List
1[T] oneInterfaces, System.Action1[T] invocationOne, System.Collections.Generic.List
1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
would anyone be able to advice what i may have done wrong ?