Unity is slow only in one project

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

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).

OK, I deleted the Library folder, now the build time is reduced to 2 min, instead of 20, so that’s progress.

Nice tag abuse.

Those where the default ones. Seemed acceptable.

Where is it crashing though?

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.

1 Like

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.