Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Importing asset fails

Discussion in 'Linux' started by The-Little-Guy, Sep 20, 2015.

  1. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    When opening a new project with existing sources (Such as from a git repository), some files fail to open with the following error window:

    Screenshot from 2015-09-19 18:47:49.png

    When pressing Cancel I get this window:

    Screenshot from 2015-09-19 18:53:20.png

    When pressing Try Again It sometimes works other times I have to force quit and start over. It can take a few tries to finally get the project to open without this error message.
     
  2. Chaoseiro

    Chaoseiro

    Joined:
    Aug 28, 2013
    Posts:
    40
    Judging by your commentary, you are probably adding Temp, obj and Library folders to the repository. You can delete those before opening Unity, mainly the Temp folder.
    Take a look at the manual: http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html
    (The manual fails to explain the Temp folder, since it is deleted when you exit the Editor, but treat it as the Library folder in the steps 4 and 8)
     
  3. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    Everything but the Assets and ProjectSettings folders were deleted, so unity had to generate everything else.