Search Unity

Feedback Creating a new project takes far too long.

Discussion in 'Editor & General Support' started by Shizola, Jan 17, 2022.

  1. Shizola

    Shizola

    Joined:
    Jun 29, 2014
    Posts:
    476
    Just created a new Unity project using 2021.2.8 and the URP Core template. (no sample assets)

    It took around 3 minutes 5 seconds to open.

    (Bonus info: opened with 3 errors)

    RenderingCommandBuffer: invalid pass index 1 in DrawMesh
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    RenderingCommandBuffer: invalid pass index 2 in DrawMesh
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    RenderingCommandBuffer: invalid pass index 3 in DrawMesh
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    For comparison
    A new Unreal 4 project takes me 14 seconds to create and open. (this includes sample assets)
    No errors.

    A new Godot 3 project take me 2.9 seconds to create and open.
    No errors.

    For new and experienced users, this is a horrible first impression. There's been a lot of talk recently around the work going into making the editor more responsive etc, but I'm not really seeing it at the moment.
     
    mgear and Kurt-Dekker like this.
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    I'd go further and say it has become a real poop sandwich, especially with unwanted crappo packages we don't want or ask for, yet we must wait for Unity to download, compile, etc.

    This horrible product decision is actively screwing Unity's newest users, who I'm sure often just give up.

    Here's how I create new projects, which is a horribly convoluted and fragile process, but because I'm familiar it works every time:

    - create a project folder
    - create folders under it for Assets, ProjectSettings and Packages
    - put the following manifest.json into Packages.

    Tell hub to open it.

    An ULTRA-stripped down crapware-free manifest.json file:

    Code (csharp):
    1. {
    2.   "dependencies": {
    3.     "com.unity.package-manager-ui": "2.0.8",
    4.     "com.unity.modules.ai": "1.0.0",
    5.     "com.unity.modules.animation": "1.0.0",
    6.     "com.unity.modules.assetbundle": "1.0.0",
    7.     "com.unity.modules.audio": "1.0.0",
    8.     "com.unity.modules.cloth": "1.0.0",
    9.     "com.unity.modules.director": "1.0.0",
    10.     "com.unity.modules.imageconversion": "1.0.0",
    11.     "com.unity.modules.imgui": "1.0.0",
    12.     "com.unity.modules.jsonserialize": "1.0.0",
    13.     "com.unity.modules.particlesystem": "1.0.0",
    14.     "com.unity.modules.physics": "1.0.0",
    15.     "com.unity.modules.physics2d": "1.0.0",
    16.     "com.unity.modules.screencapture": "1.0.0",
    17.     "com.unity.modules.terrain": "1.0.0",
    18.     "com.unity.modules.terrainphysics": "1.0.0",
    19.     "com.unity.modules.tilemap": "1.0.0",
    20.     "com.unity.modules.ui": "1.0.0",
    21.     "com.unity.modules.uielements": "1.0.0",
    22.     "com.unity.modules.umbra": "1.0.0",
    23.     "com.unity.modules.unityanalytics": "1.0.0",
    24.     "com.unity.modules.unitywebrequest": "1.0.0",
    25.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    26.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    27.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    28.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    29.     "com.unity.modules.vehicles": "1.0.0",
    30.     "com.unity.modules.video": "1.0.0",
    31.     "com.unity.modules.vr": "1.0.0",
    32.     "com.unity.modules.wind": "1.0.0",
    33.     "com.unity.modules.xr": "1.0.0"
    34.   }
    35. }
    You would likely edit the above manifest.json as you decide you do or do not want various packages. Here's more of my mad feverish scribblings on this infuriating process:

    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

    Another way is 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, then reopen Unity.
     
  3. krupps

    krupps

    Joined:
    Oct 17, 2017
    Posts:
    159
    I can create a a new project in 14 seconds. I would say either your anti virus or optimize your pc or upgrade your mboard/processor.

    I am running the ryzen 5950 with 4th gen M2's, that could be why mine loads fast
     
  4. SuperDino484

    SuperDino484

    Joined:
    Oct 15, 2018
    Posts:
    7
    The urp takes me around 1 minute to 1.5 minutes. I have 3700x with gen 3 ssd. None of my hardware is overclocked
     
  5. krupps

    krupps

    Joined:
    Oct 17, 2017
    Posts:
    159
    @SuperDino484 don't take this the wrong way, but 3700xx is pretty slow. I'm running Corsair ultimate ram 32gb, Ryzen5950, with a Rogstrix x570 and a WD gen4 for OS and a Aurus 4th gen for data. None of my stuff is overclocked, but starting up the Editor is slow on some processors.

    This time is with Adobe, PH, Illustrator, and 3d studio running at the same time.

    I upgraded by PC because I was experiencing your same issue.
     
  6. krupps

    krupps

    Joined:
    Oct 17, 2017
    Posts:
    159
    I also found that my Norton360 was blocking some of the Unity directories and I added the exclusions which helped a lot of making it a little faster. I do this with all my IDE apps, because Norton will try to scan everything and slow down a lot of the apps.
     
  7. Shizola

    Shizola

    Joined:
    Jun 29, 2014
    Posts:
    476
    A 3700x is probably faster than what most Unity users are using... but that's irrelevant anyway. The answer is for Unity to go back to being fast to use, not buying new hardware.

    The point of the thread is if
    New Unity project 3 minutes
    New Unreal project 14 seconds
    New Godot project 3 seconds.

    Unity should be very worried about that.
     
    Kurt-Dekker likes this.
  8. krupps

    krupps

    Joined:
    Oct 17, 2017
    Posts:
    159
    No a 3700 is old and outdated.

    If Unity is taking that long, it is with your system not Unity. I have a laptop that has an old CPU like yours and takes about 20 seconds to load.

    Like I said evaluate why your systems is slowing down. What is your ram peak performance, what your paging is set at, is AV blocking a folder, is there a permission issue occurring ( which I found is usually the issue), is your firewall blocking any routes Unity needs.

    Also, those other projects are lightweight compared to Unity.
     
  9. SuperDino484

    SuperDino484

    Joined:
    Oct 15, 2018
    Posts:
    7
    I did not mean for this to turn into an argument. I thought I would give my specs and time so others can see what the loading times are. If you want more details my 3700x runs at 4.2Ghz all cores. Please note I don't want to start arguments I am just trying to give my specs and times so the person who made the thread can compare. I also only have windows defender and no other antivirus
     
    Shizola likes this.
  10. Shizola

    Shizola

    Joined:
    Jun 29, 2014
    Posts:
    476
    You have no idea what you're talking about, please stop posting.
     
    havokentity likes this.
  11. klm127

    klm127

    Joined:
    Jan 7, 2023
    Posts:
    1
    I'm running a 1660ti and a Ryzen 5, m2 SSD. My biggest issue, I think, is that my internet connection is slow. It takes 4 minutes to start a new URP project. Less than half for a regular 3D project. Does Unity re-download the packages for every project or does it cache them somewhere? My impression is that it re-downloads for every new project. If this is the case, Unity could surely save their users much wasted time by caching dependencies on the disk and only re-downloading if versions have changed. They would also save a lot of bandwidth for themselves. I would assume they already do this but it's the only explanation I have for the very long project creation times.
     
  12. spryx

    spryx

    Joined:
    Jul 23, 2013
    Posts:
    557
    maybe I’m alone here… but I don’t think this is exactly going to be the deciding factor. Unity isn’t going to suddenly loose lots of market share because a fraction of users find it takes a bit more time to start a new project. The tool as a whole more likely.

    How are you guys finishing projects so quickly that you find time to create lots of new ones?
     
  13. Magic73

    Magic73

    Joined:
    Jun 23, 2015
    Posts:
    132
    Unity 2021.3.18f1, Create New project, 3D URP template. No examples.
    upload_2023-3-8_17-11-37.png

    Notice:
    Creating a new project with 2017, tooks few seconds.
     
    CloudInteractive likes this.