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

Opening an iOS project off GitHub always imports as Desktop?

Discussion in 'Editor & General Support' started by kirkbowe, Jun 12, 2014.

  1. kirkbowe

    kirkbowe

    Joined:
    Oct 2, 2010
    Posts:
    6
    Hi. A colleague works on an iOS Unity project and pushes his project up to git. I download the project (on a Mac), fire up Unity, and proceed to open that project (by navigating to the downloaded directory).

    Unity always wants to open the project as a Desktop build, which I then have to revert by going into Build Settings, change to iOS, and do a platform switch. This, maddeningly, takes forever as it tries to PowerVR every one of hundreds of images, which were of course PowerVR'd in the first place!

    What obvious thing am I missing? I turned off the 'compress on import' option to speed this up. But the project was gitted on the same Mac platform and Unity version that I'm using on my machine.
     
  2. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    970
    The build settings are saved in ProjectSettings/ProjectSettings.asset, so chances are that that the ProjectSettings folder was left out of the repo.

    Generally speaking, when you keep a repo of a project, the library folder is ignored, as it is a local cache and changes *a lot*. This means that the any textures that were imported into PowerVR format, or any other format for that matter, are no longer there when you check out. This will be the case no matter what project type you use.
     
    kirkbowe likes this.