Search Unity

Graphics issues when on Yosemite.

Discussion in 'Editor & General Support' started by Random_Peon, Nov 12, 2014.

  1. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    Howdy everyone.

    I'm getting an issue on a WebPlayer build, only when running on OS X Yosemite.
    This problem is a bit difficult to explain, so I'll illustrate it with some screenshots.

    Basically, my problem is there are rainbows.

    Screenshot number 1 :

    1.png

    In this screenshot you can see a mirror using a Render Texture which randomly turned rainbow at some point.


    Screenshot number 2 :

    2.png

    Don't mind the blur effect on the upper right side, this project is licensed so I had to hide texts.

    This comes from a different scene which only contains a camera with no image effects, a GUITexture, and some GUI labels and button at the bottom.

    For better understanding, this is what it should look like :

    2bis.png

    Screenshot number 3 :

    In our game, the player is able to put on or remove clothes by opening a panel.
    To display it, we used another camera looking at a copy of the character. Basically, when you open this panel, we're lerping our cameras Viewport Rect.

    This is what it should look like :

    3bis.png

    But this is what happens on Yosemite :

    3.png

    At this point, I think you had understand what's going wrong.
    As I said earlier, this is only happening on Yosemite with a Web Player build.

    Don't know if it may be of some use, but we're using Marmoset shaders (http://www.marmoset.co/) and Highlighting System (http://forum.unity3d.com/threads/highlighting-system-released.143043/).

    If you have any idea about the cause of this issue, or if by any chance you saw something similar lately, please tell us, I'm literally lost here.
     
  2. MaT227

    MaT227

    Joined:
    Jul 3, 2012
    Posts:
    628
    Maybe @Aras could explain what's happening here.
     
  3. monkeyscience

    monkeyscience

    Joined:
    Dec 13, 2011
    Posts:
    705
    What happens if you disable the highlighting system and use Marmoset shaders alone? And how about standard Unity shaders with the highlighting system?
     
  4. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    @monkeyscience
    Ok, just tried it.
    In both cases, problem still happens.
     
  5. monkeyscience

    monkeyscience

    Joined:
    Dec 13, 2011
    Posts:
    705
    Hmmm. If it's happening on standard shaders, there is nothing Skyshop could have done to cause it. This could be a core Unity problem that you should definitely report.
     
  6. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    I think I'll do that. I'm running out of ideas here.
    Thanks for your help :)
     
  7. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    I've got some update !

    I managed to get my hands on a new MacBook Pro, Intel Iris, i5, Yosemite, so I installed Unity and opened my project and launched it from the Editor.

    When rainbows began to appear, the exception "UNSUPPORTED" appeared multiple times without any further informations.
    Looking in Editor.log, I get more :

    UNSUPPORTED
    (Filename: /Applications/buildAgent/work/d63dfc6385190b60/Runtime/GfxDevice/opengl/RenderTextureGL.cpp Line: 663)

    @Aras, @MaT. seems to think you can help with this :)
     
    Last edited: Nov 20, 2014
  8. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    I tried to make a new scene with only one render texture, one cube, and the camera facing the render texture.

    By randomly moving the objects, the bug appeared. I'm reporting this.
     
  9. Marcelo-Viana

    Marcelo-Viana

    Joined:
    Jun 29, 2013
    Posts:
    11
    Same happening here.

    Macbook Pro Retina 15" late 2013, i7, Intel Iris Pro.
    Unity 4.5 and 4.6 both have the issue. Very easy to replicate.
     
  10. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    Thanks @Marcelo Viana, I was beginning to think I was the only one having this issue.

    How did you manage to replicate?
    Could you maybe link an example scene?
     
    Last edited: Dec 2, 2014
  11. Random_Peon

    Random_Peon

    Joined:
    Nov 27, 2013
    Posts:
    15
    Last edited: Dec 2, 2014