Error with scripts in building (LEGO microgame)
Hi,
I am new to Unity and to game making in general. I would like to submit an entry in the LEGO microgame Ideas competition (deadline only a few days away). I suddenly get a strange error - seems to be in the building process. The built game is uploaded but then not playable online. Error message as follows. I know nothing about coding and did not touch any of the scripts so I am totally lost here... Thank you in advance!
Verena
ArgumentNullException: Value cannot be null. Parameter name: componentOrGameObject LEGOModelImporter.Connection.RegisterPrefabChanges (UnityEngine.Object changedObject) (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Runtime/Connection.cs:119) LEGOModelImporter.ConnectionField.OnDestroy () (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Runtime/ConnectionField.cs:951) UnityEditor.SceneManagement.EditorSceneManager:OpenScene(String) LEGOModelImporter.ProcessHelper:ProcessAssets(Func`2) (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Editor/ProcessBuild.cs:131) LEGOModelImporter.PreProcessBuild:OnPreprocessBuild(BuildReport) (at Library/PackageCache/com.unity.lego.modelimporter@3.2.0/Editor/ProcessBuild.cs:32) UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) Unity.Play.Publisher.Editor.PublisherBuildProcessor:OpenBuildGameDialog(BuildTarget) (at Library/PackageCache/com.unity.connect.share@4.1.1/Editor/PublisherBuildProcessor.cs:180) Unity.Play.Publisher.Editor.PublisherWindow:OnWebGLBuildTargetSet() (at Library/PackageCache/com.unity.connect.share@4.1.1/Editor/PublisherWindow.cs:734) Unity.Play.Publisher.Editor.PublisherWindow:OnCreateABuildClicked() (at Library/PackageCache/com.unity.connect.share@4.1.1/Editor/PublisherWindow.cs:509) Unity.Play.Publisher.Editor.<>c_DisplayClass75_0:b_0() (at Library/PackageCache/com.unity.connect.share@4.1.1/Editor/PublisherWindow.cs:627) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)