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
0
Question by wenqisong · Jun 24, 2015 at 09:51 AM · assetslibrarysource-controlperforce

Can not build project only using Assets and ProjectSettings folders

I tried to recompile my project only using Assets and ProjectSettings folders based on the thread: http://answers.unity3d.com/questions/22604/which-unity-project-files-can-be-ignored-for-versi.html. It is said that changing settings to make Library folder unnecessary and commit to SCM for example Perforce. But I still cannot recover my original project after recompilation. All of meshes are missing in mesh filter columns. And I can't put any mesh back to mesh filter.
Is Library folder a necessary folder for project recovery? I have already set Version Control Mode to Visible Meta Files and set Asset Serialization to Force Text.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by komodor · Jun 24, 2015 at 09:55 AM

you need also few files in the project folder, you don't need Library folder, it's recreated from metafiles and settings

in our git we ignore these folders

Temp, Obj, UnityGenerated, Library

and it works well

Comment
Add comment · Show 2 · 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 wenqisong · Jun 24, 2015 at 06:58 PM 0
Share

Thanks $$anonymous$$omodor for your reply. Are you using Unity 5? I didn't see Obj and UnityGenerated folders at all. :( And about files in the project folder, do you mean csproj files and sln files?

avatar image komodor · Jul 02, 2015 at 01:57 PM 0
Share

i don't remember why we did the gitignore how we have it, it's long time ... try to experiment

this is my favourite page for this https://www.gitignore.io/api/unity

i think it worked well that time, then i experimented until it worked

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

2 People are following this question.

avatar image avatar image

Related Questions

Unity Object Issues 1 Answer

Perforce Save Project checks out random prefabs 0 Answers

MonoDevelop doesn't load all source control folders 0 Answers

Removing Library folder is breaking the project 3 Answers

compiling/modifying Perforce Plugin 0 Answers


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