Search Unity

Tons of compiler errors on First Person Template.

Discussion in 'Editor & General Support' started by jonathanpecany, May 19, 2022.

  1. jonathanpecany

    jonathanpecany

    Joined:
    May 9, 2019
    Posts:
    27
    I am a 99.9% beginner in Unity and it already confused me, so not 100% know what I am doing. I am trying to make a project using the First Person template, since my project idea is in first person. But when I start to work on that project, it warns me about compilation errors and to start in Safe Mode. When I view it, there are a bunch of error, about 293 errors to be exact. I did include a file with the safe mode screen.

    I did think it was the First Person template so I tried to reinstall it, but I couldn't the template on my computer so I can remove it and reinstall it.

    I do need help, I ain't 100% sure what I am doing and the internet has proven no help at the moment.
     

    Attached Files:

  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    Are you using the Visual Scripting package (aka Bolt?). If not, just uninstall it from the package manager. It seems like many of the errors are coming from an incompatible version of that package being installed.
     
  3. jonathanpecany

    jonathanpecany

    Joined:
    May 9, 2019
    Posts:
    27
    I am not 100% sure. I am completely new at unity and barely touched it in the past. But I will try to look for it.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,743
    Adding to what Praetor says above:

    Extra unwanted packages in new projects (collab, testing, rider and other junk):

    https://forum.unity.com/threads/temp-unityengine-testrunner-dll-error.1133938/#post-7287748

    About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.

    Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared:

    https://stackoverflow.com/questions/53145919/unity3d-package-cache-errors/69779122
     
  5. jonathanpecany

    jonathanpecany

    Joined:
    May 9, 2019
    Posts:
    27
    I managed to fix the problem. I just updated the "Visual Studio Code Editor" and it fixed most of the errors but one single one.

    Here is a screenshot of it.
    Screenshot 2022-05-20 013811.png Screenshot 2022-05-20 013811.png

    Update:
    I may have found a solution to this error but not sure as I ain't on my computer.
    http://answers.unity.com/answers/1900931/view.html
     
    Last edited: May 20, 2022