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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug!? Unity 2017.4.5f1 - (Case 1048783) Target Device & Minimum iOS Version not persistent

Discussion in 'iOS and tvOS' started by jashan, Jun 13, 2018.

  1. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,306
    I'm currently trying to port an existing project using Linear color space over to iOS. The first really nasty issue I ran into was that when I remove OpenGL ES 2, Unity does a full re-import of everything, which takes about a day (20+ hours). That is obviously not cool, and I don't quite understand why Unity needs to do all this work when the only change I made was removing one API (Metal was already there, OpenGL ES 2 was just an additional one which would have been used as fallback).

    Anyways, there really strange issue is what this bug is about: Even in a fresh new project, when changing Target Device and Target minimum iOS Version (and probably some settings, too): It changes. Looks all good.

    But even if you do "Save Project", and also, even if you also change other settings (to make sure that thing is dirty), after selecting any other object (e.g. in the hierarchy, just to make sure the inspector shows something other than the Player Settings), and then returning to the Player Settings, the changes to Target Device, Target SDK, Target minimum iOS Version and also Hide home button on iPhoneX and Render Extra Frame on Pause are undone and back to "iPhone + iPad" and "7.0" (and the other default settings).

    In other words: It seems that currently, in Unity 2017.4.5f1, there is no way to fix the warning and do a proper build. Target minimum iOS version is always 7.0, no matter to what value I set it (tried 10, 10.0, 10,0 ... and other numbers, too ;-) ).
     
  2. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    79
    I am having this issue now. Did you happen to find out the problem?
     
  3. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,306
    No, just recently, I ran into the same issue once again. As Unity doesn't seem to fix this, I usually manually edit the configuration files. I had this filed as Case 1048783 - Player Settings / Other / Target Device & Minimum iOS Version forget their settings, which unfortunately was closed because the QA-person couldn't reproduce it. It also turns out that the reply I sent which included a video was not stored with the bug report (at least I don't see it, I only see the first answer - not the continued conversation). So, anyways, here's that video:


    EDIT: Same thing still happens in 2017.4.12f1; haven't tried the latest but it's unlikely that this has changed.
     
  4. thecoch

    thecoch

    Joined:
    May 14, 2017
    Posts:
    17
    I got this issue too,do you fix it?
     
  5. thecoch

    thecoch

    Joined:
    May 14, 2017
    Posts:
    17
    I just go edit the file "projectSettings.asset" located at "ProjectSettings" folder to do some changes,which fix my issue for now.
     
  6. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,306
    But yeah, you found it - thanks for adding more detailed instructions.
     
  7. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    Are you on APFS or HFS ?
     
  8. angelochu7

    angelochu7

    Joined:
    Nov 14, 2018
    Posts:
    26
    Thanks for your great tip thecoch. It works.

    By the way, I would like to report that I have this issue (Target minimum iOS version doesn't save value after change) on Mac Unity 2017.4.19f1 version.