Search Unity

OnGUI textures not rendering normally on iOS?

Discussion in 'Immediate Mode GUI (IMGUI)' started by NickMcCo, Aug 17, 2015.

  1. NickMcCo

    NickMcCo

    Joined:
    Aug 17, 2015
    Posts:
    4
    Hi, I've been working on a game in unity and while it seems to load GUI elements normally in the in-editor demo as well as the standalone version, it messes up the textures in the iOS build.

    normal (correct): http://puu.sh/jEdQO/30399200e8.png

    iOS: http://puu.sh/jEdU5/bde0812716.png

    Does this kind of error look familiar to anyone? I know OnGUI is legacy and not ideal for iOS but I just want to get an early prototype running before spending weeks transferring everything to canvas. Thanks!!
     
  2. NickMcCo

    NickMcCo

    Joined:
    Aug 17, 2015
    Posts:
    4
    After fiddling with things for a while I figured out it was because i was importing the images that made up my gui background as sprites, not textures.