Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
9
Question by qJake · Jun 29, 2010 at 09:35 PM · projectfolder

Which folders in a Unity project are critical folders?

Dropbox has recently started Selective Sync, which means you can disable certain folders from syncing automatically over the network. Since Unity compiles all assets locally, and since these assets aren't critical (i.e. if you delete them, Unity will just recompile them), I wanted to know something:

Which folders inside a Unity Project heirarchy are non-crucial, meaning, if they are deleted or corrupt or incorrect, Unity will just re-compile them? Here is the typical folder structure I have inside my project folder:

Assets
|- [asset list]
Library
|- cache
|- metadata
|- ScriptAssemblies
obj
|- Debug
Temp
|- bin

So which of these folders, if deleted (or not synced, in this case), would not "break" the project?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
7
Best Answer

Answer by Mike 3 · Jun 29, 2010 at 10:08 PM

The only one you need if you have external version control enabled is Assets

Without that, you can get away with Assets, Library/cache and Library/metadata

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image qJake · Jun 29, 2010 at 10:11 PM 0
Share

I figured as much, just wanted a second opinion.

avatar image Noise crime · Jul 13, 2011 at 05:40 AM 0
Share

Just thought i'd mention I've seen some odd behaviour after removing the 'Previews' folder in Unity 3.3. I have a metaballs implementation and it would run slightly jerky after deleting the preview folder. This didn't show up in my fps counter or the stats, but visually it was definitely more jerky, until I quit and reloaded Unity. If it rebuilt the preview folder then it was smooth. Not sure I understand what is going on, but it may be something to watch out for.

avatar image vzasadnyy · Feb 12, 2014 at 10:11 AM 1
Share

You'll also need ProjectSettings folder if you have custom physics, tags or any other settings set up from Edit -> Project Settings

I've wrote post about that

avatar image
10

Answer by Archony · Apr 11, 2015 at 08:42 AM

As of (at least) Unity 5 Personal (aka the free version), you no longer need to back up anything from the Library folder. Everything in Library can now be safely ignored. The obj and temp directories can be ignored, as before. Project Settings and Assets folders should be checked in. See step #8 at docs.unity3d.

(I have a Recovered Assets folder, but I'm not sure what that's for. Nothing there has changed in a while, though.)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image guneyozsan · Mar 25, 2017 at 12:36 PM 0
Share

I guess the Unity version that is used in a project is also saved in the Library folder. I also ignore Library folder but I had a case that I couldn't find out the Unity version of a project that was passed to me through Source Control.

avatar image
1

Answer by cgiguy · Mar 12, 2012 at 05:06 PM

I use Dropbox for some of my personal projects too, but make sure you are also using version control. I lost a whole project once because Dropbox got all confused during an auto-sync, and destroyed multiple random files within the project. I believe this happened because unity needs to create/adjust a considerable amount of files while you are actively working.

Now, when I work on a unity project that is stored in my Dropbox, I turn off the synchronization by selecting 'Pause Sync' while I am working. And when I'm done, I let it resume and catch itself up cleanly. And... I use SVN on top of it all now. ;)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by U_Ku_Shu · Aug 05, 2016 at 05:22 PM

I'm using the following .gitignore file:

 # ---------------[ Unity generated ]------------------ #
 **/[Ll]ibrary/*
 **/[Tt]emp/*
 **/[Oo]bj/*
 **/[Bb]uild/*
 **/[Bb]uilds/*
 **/UnityGenerated/*
 **/Assets/AssetStoreTools*
 
 # ----[ Visual Studio / MonoDevelop generated ]------- #
 ExportedObj/
 .consulo/
 *.csproj
 *.unityproj
 *.sln
 *.suo
 *.tmp
 *.user
 *.userprefs
 *.pidb
 *.pidb.meta
 *.booproj
 *.svd
 
 # Unity3D Crash Reports
 sysinfo.txt
 
 # -------------[ OS generated ]------------------------ #
 .DS_Store
 .DS_Store?
 ._*
 .Spotlight-V100
 .Trashes
 Icon?
 ehthumbs.db
 Thumbs.db
 ios
 ios.app
 
 # include meta files
 !*.*.meta
 
 # Builds
 *.apk
 *.unitypackage
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Lock Folder in Project View 3 Answers

New Project: Can't change startup folder 3 Answers

Unity Folder way too big - bigger than inside Files 1 Answer

Merging Project Folders on the desktop? 0 Answers

I deleted my material folder by mistake... 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges