Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity is slow only in one project

Discussion in 'Editor & General Support' started by kris8360, Jul 25, 2017.

  1. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    Hi Guys!

    One of my project is really slow, meaning it takes 20 minutes to export to ios, takes a minute to start when I press on the play button. I don't really understand why, all my other projects are running fine and fast.

    It's not a big project either, only has one scene, one lightsource, a couple of models, no big deal. I tried to export all the essential files, to later reimport it to a newly created project, but that failed too, because of some compressing error.

    How can I check what causing the problem?

    Have you ever experienced something similar?
    Thanks in advance,
    Kris
     
  2. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    Also I forgot to mention that, it runs horribly in the editor, 2-4 fps, but when I finally manage to export to a test device, it runs fine, with 30 fps (capped).
     
  3. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    OK, I deleted the Library folder, now the build time is reduced to 2 min, instead of 20, so that's progress.
     
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Nice tag abuse.
     
  5. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    Those where the default ones. Seemed acceptable.
     
  6. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Where is it crashing though?
     
  7. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    In the middle of building the iOS version.

    Deleting the Library folder seemed to fix some of the problems, so it's fine for me.

    Thanks for your input though.
     
    drewjosh likes this.
  8. drewjosh

    drewjosh

    Joined:
    Sep 24, 2019
    Posts:
    23
    Having similar issues here with 2022.3.x Deleting Library didn't seem to fix the issue. Everything is smooth except when there is something file reading or writing inside Unity. It takes 5 - 10 seconds. It's quite nerve wrecking. I only have this problem in one project (and the other once are similar, this one I actually copied of from another one..), really weird.