So I recently purchased an entirely new MacBook Pro - 14" w/ an Apple M2 Pro Chip - with the purpose of dedicating it to game development…
I downloaded the most recent LTS version of Unity (Unity 2021.3.23f1) and opened a URP project. I then exported the basic scene that is included when you first load up a new project - so NO extra code, assets, anything, etc. - and I am thrown a million errors:
Building Builds/buh_8_test.app/Contents/MacOS/buh_8 failed with output:
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
BuildFailedException: Incremental Player build failed!
UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/BeeBuildPostprocessor.cs:604)
UnityEditor.OSXStandalone.OSXDesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/build/output/unity/unity/PlatformDependent/OSXPlayer/Extensions/Managed/OSXDesktopStandalonePostProcessor.cs:117)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:28)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:370)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
Build completed with a result of ‘Failed’ in 3 seconds (3421 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:194
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
I am really trying to make sense of all of this… How can I already have issues if I have not written any code or loaded any assets? This has been an ongoing issue with Unity in the past and what helped was updating the Editor to the most recently released LTS version, however I have already done this so I cannot go “further” at this point and download a more recent, updated version of the Editor.
Would trying to build my game on a previous LTS version of Unity that actually WORKED FOR ME - I believe it was 2020.3.46f1 - be a potential fix? On that LTS version, everything was functional and I was able to build my game without any errors. Is this course of action - working backwards in LTS versions to find a version that actually WORKS - advised against, or recommended? Like, if I build a game on an older version of the Unity editor, will I run into issues at some point because it’s outdated, or can I still do this?
This may seem like a stupid question but… why is Unity like this? Looking at their downloads page reveals a LOOONG list of “versions” of the Editor that is updated every - 2-3 weeks?! Does this mean as game developers, we are constantly expected to download a new version of the editor every few weeks? How is this efficient for Unity, and even conceivably tolerable for game developers?
Am I failing to understand something basic here? I would understand if I had a huge project but once again, my Editor is failing to even build a project with just a light and camera. Weird.
Screenshot is provided Thank you in advance.