Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug How to fix?

Discussion in 'Editor & General Support' started by Marko2155, Jan 13, 2023.

  1. Marko2155


    Nov 21, 2022
    I'm not a SUPERCODER so when I had a chat with a SUPERCODER friend about my game "Toy Soldiers Combat Arena" (which is not really an arena) and I told him if he could fix it. (fix it means fix my enemy script) (btw the game was made in Unity 2017.1.2p3) He downloaded the macOS installation file and it was broken. He tried to install it through Homebrew, but that only installed Unity Hub 2017. After the chat, I opened Unity 2021, made a copy of the game and opened the copy in Unity 2021, everything worked fine. However, on build time, it throws an error at me. As I said, I am NOT a SUPERCODER so I didn't understand anything about this error. Oh, and the error I got before this was a warning that was about a GUI Layer component on the Main Camera for the game scene.

    UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <11d97693183d4a6bb35c29ae7882c66b>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <11d97693183d4a6bb35c29ae7882c66b>:0
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

    There was no "Support" prefix so I set it to "Bug".