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

Unity Refresh glitch when changing text labels values

Discussion in 'iOS and tvOS' started by talrumers, Dec 4, 2015.

  1. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    Hi Devs,
    I have a problem with the unity's Gui...
    sometimes when i update a text gameobject string i see a quick frame or two of white instead of all gui elements.

    Example when it is visible clearly:
    When a user scores 20, i take a time of 0.5s and deviding it by 20, and counting from 0 to 20 and waiting 0.5/20(s) between each count, to give the game over menu a feel of building your score. same with earning money in big chunks as in reward for watching an ad, it just shows white for a frame almost everytime the text changes (which happens quick in the score counting up).

    I'll be glad if someone can help me, or maybe someone already knows this issue.


    Unity 5.1.4f1
    Xcode 7.1.1

    Thanks,
    Tal Rumer
     
    Last edited: Dec 5, 2015
  2. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    Please help guys, it's urgent!
     
  3. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    Still unsolved, the only thing preventing me releasing my game to IOS.. /=
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @talrumers

    I checked with our iOS team about this. There may have been a similar issue related to Metal rendering. Can you try this with GLES instead (if you've not done so already)?
     
  5. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    @JoshPeterson
    How do I choose GLES?
    Can't find anything on the settings..
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @talrumers

    In the Player Settings for iOS, disable the "Auto Graphics API" option. Then you can remove the "Metal" option using the minus button.
     

    Attached Files:

  7. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    @JoshPeterson

    Solved it!
    Thanks!
     
  8. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @talrumers

    That is good to hear! I believe that this has been corrected in newer versions of Unity, you may be able to use Metal instead if/when you move to a newer version of Unity.