Forcing unity to rebuild the project.

Hello folks,
Unfortunately for our project, we continue encountering numerous casing of unity “messing up” its cache files.
That means that some things in our project stop working, even though every single file of the project is up to date in our SVN repository.

The solution we found that always works and saves me some time is to do a clean check out from the SVN repository and let unity rebuild the project again.

What are the files that need to be deleted to make Unity reload the project from scratch?
Can you force Unity to only rebuild parts of the project to save time? If that’s the case, what files correspond to what functionality?

Thanks beforehand,
Gennadiy

Did you ever figure this out? I think I could use it. :frowning:

How about deleting the Temp folder?

those files are all unity generated, and removing them will probably force it to rebuild the entire project.

I can’t guarantee it… I’d try with a safely backed up project, or a project you’ve downloaded… Don’t go doing this on your 2-year-old pet project with no backup [/disclaimer]

Might just work :wink:

Cheers

Agreed:

  1. Close Unity (always do that as files might otherwise be in use / cached)
  2. Delete Temp
  3. Open unity and try build again

if this does not work, add
2.1 if 2 did not help: remove previous build

  1. if 2.1 didn’t work, reimport the relevant folder where the not updating data are in, at worst reimport all to reimport the whole project and do all the steps. This is basically the “force reload”, but it naturally takes an eternity with larger projects or slower hardware

yeah rmv all files except /assets and it works