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

Detect when textures are loaded or not?

Discussion in 'Editor & General Support' started by MrMagoo22, May 6, 2014.

  1. MrMagoo22

    MrMagoo22

    Joined:
    Apr 13, 2014
    Posts:
    12
    Hey everybody, got a quick issue I was hoping someone here might have some info for. When my game loads, the textures all are blue and not fully loaded for a few seconds, then pop back to normal afterwards. Its visually very unusual, and I would like to keep the user hidden behind a loading screen until it resolves itself, but I don't know how to detect whether or not the textures have finished loading or not. Is there a way to determine this in code?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    are you are using a Substance for generating the textures? That's the only time i have have seen that a material was blue for a short time while the substance is generating the texture.
     
  3. MrMagoo22

    MrMagoo22

    Joined:
    Apr 13, 2014
    Posts:
    12
    Yeah I am.
     
  4. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287