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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Multiple Library Error - Help!

Discussion in 'Editor & General Support' started by sorrowschild, Aug 26, 2018.

  1. sorrowschild

    sorrowschild

    Joined:
    Aug 5, 2018
    Posts:
    1
    Hi there,
    I was trying to copy-paste my project from one folder to another when something happened. Now when I open the project (from Unity) I get:

    Fatal error!

    detected multiple library folders within your project"

    Did you copy a project into this project? Use "Export Package" to move assets between projects.

    You need to remove the following Library folder(s) from your project before you can open it again:

    c:/users/documents/myproject/assets/library



    When I delete the library folder and open my project directly from Unity it works perfectly fine. BUT, when I try to open it from explorer, it recreates an entire brand new "Library" folder (the one that I have to delete in order to access the project) and all the assets disappears and the project doesn't run. So, my project works only if I start it from unity and just if the library folder is deleted. I have to share this project with another pc, how can I do that? please help me, I'm a step away from a nervous breakdown.
     
  2. kenorbik

    kenorbik

    Joined:
    Jan 9, 2023
    Posts:
    7
    I've the same error. In my case, I know I've Library/ within Assets, because I'm using submodules where I split one project into smaller. So I want to disable this warning, how I can do that?
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,599
    You need to have your submodule ONLY contain what can exist somewhere within Assets.

    You CANNOT put the entire Unity in a submodule.

    You CAN put an entire folder beneath Assets/ in a submodule.

    Hare's how we do it:

    /Assets/AllTheOtherStuff
    /Assets/Submodules
    /Assets/Submodules/Submodule1
    /Assets/Submodules/Submodule2


    and our submodules are mapped to Submodule1 / Submodule2