Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Need help with unity game versions upgrade.

Discussion in 'Game Design' started by unity_20cmpanda, Nov 23, 2020.

  1. unity_20cmpanda

    unity_20cmpanda

    Joined:
    Nov 23, 2020
    Posts:
    1
    Hello everyone. I have this game project named "Nightmares Shooter". Actually he was made in unity version : m_EditorVersion: 2017.2.0f3.

    Unity current version I have is : 2019.4.14f1

    I tryed to open that project with my current unity version. It said that is converting to the new version and it did.
    But now when I try to edit my project and run it in play mode it says that i need to solve all compiler error first.
    I'm newbie and i really dont know how to solve it. there are 5 yellow errors and 2 red.
    I just need someone to solve it for me if he can... or to tell me how can I solve it by myself.
    Project have just 150 MB..
    I will attach some picture with the errors and a link where you can download project itself..
    Please, i really need some help..

    Photo of errors: https://imgur.com/a/7NgrnDi
    Project RAR : https://www.mediafire.com/file/qeizc4efro7zcob/NightmaresShooter.zip/file
    VirusTotal Scan : https://www.virustotal.com/gui/url/...c449d29fd6c8f7740cc2875f4797c37b65b/detection
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,193
    If you need help with compiler errors, there's a different forum here for that:

    https://forum.unity.com/forums/scripting.12/

    I'd recommend creating one or more posts over there, include the compiler error as text (not as an image) and include the relevant code using CODE tags (not as an image). Fix the errors one by one. Generally don't expect someone to download your whole project and fix it for you.
     
    angrypenguin likes this.
  3. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,663
    The first error could be resolved by removing the "PostProcessing" folder inside your project and downloading the
    Post Processing
    package from the
    Package Manager
    (in Unity's top menu: Window > Package Manager), then import that.

    The second error tells you that the
    GUI Layer
    component, which has been removed in Unity 2019.3, is no longer available. It was initially sitting on your
    MainCamera
    because it got added automatically to it. Removing the
    Flare Layer
    component from your camera can help solving this error (see). Alternatively, use this helper script: https://github.com/AscendingMan/removedeadcomponentsfromscenes
    Click the green "Code" button and choose "Download ZIP" to download the repository, then unpack the .zip:
    1. Place the downloaded Editor folder and its contents at the root of your Assets folder.
    2. Click Cleanup > Cleanup Scenes with Deprecated Components in the top toolbar menu.
    Source: https://issuetracker.unity3d.com/is...in-unity-when-updating-project-with-gui-layer

    Those yellow warnings can be ignored.
     
    Last edited: Nov 23, 2020
    Lime_x likes this.
  4. Lime_x

    Lime_x

    Joined:
    May 1, 2009
    Posts:
    210
    While I haven't had these problems myself, I think it seems like you have a legit solutions to them. When searching on the internet, I didn't find the same type of solutions for the problem. Because of that I thought I'd add the error messages here for text reference to aid others when they search for the errors in the future.

    1. error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'
    2. Component GUI Layer in MainCamera for Scene Assets/_Complete-Game/_Complete-Game.unity is no longer available.
    It will be removed after you edit this GameObject and save the Scene.
     
    Mauri likes this.