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. Dismiss Notice

[BUG] Image Effects are broken on 5.3 under OSX El Capitan

Discussion in 'Image Effects' started by vladstorm_, Feb 12, 2016.

  1. vladstorm_

    vladstorm_

    Joined:
    Nov 26, 2013
    Posts:
    184
    I'm developing an Image Effect and one client wrote me that he has a strange bug on my Image Effect. I striped down everything in the shader and realized that it's just in general the texture coordinates are brocken on some resolutions.
    Then I downloaded the standard asset Survival Shooter and guess what. All the Image Effects are brocken and turned off for some reason. So if you turning on any of them - they are broken. The output image has some weird artifacts. My doubt is - the texture coordinates calculated wrong in the shader.

    The problem is - its not happening every time and I don't know in which cases exactly but it happens. Sometimes when you resizing the image in the editor view.
    Please, check this and write how I should fix it or will you fix it in future releases.

     
  2. vladstorm_

    vladstorm_

    Joined:
    Nov 26, 2013
    Posts:
    184
    I just loaded default Blacksmith demo. Look at this
     
  3. holliebuckets

    holliebuckets

    Moderator

    Joined:
    Oct 23, 2014
    Posts:
    496
    Hi folks! Has anyone submitted a bug?
    When running Unity choose Help->Report a Bug in the menu, or you can find it installed right next to Unity.
    If you have can you post the bug number here for me to investigate further?
     
    pixxelbob likes this.
  4. pixxelbob

    pixxelbob

    Joined:
    Aug 26, 2014
    Posts:
    111
    Same issue here on Yosemite 10.10.5 with Editor 5.3.2f1
    Mac Mini Late 2012
    CPU: i7 2.6 GHz
    Gfx: HD 4000 1GB
    16GB Ram

    @holliebuckets
    Bug submitted, 771241. TBH All you need to is open any basic scene and apply any image effect to the main camera, such as Blur, AA, Sun Shafts.
    Happens every time.
    Sometimes setting layout fixes it briefly until you make another change to the scene.
    Image effects are unworkable in this state.

    I think this is an OSX issue only, it does not present itself on Windows.
     
    Last edited: Feb 16, 2016
    vladstorm_ and holliebuckets like this.
  5. holliebuckets

    holliebuckets

    Moderator

    Joined:
    Oct 23, 2014
    Posts:
    496
    Cool! Thank you so much!! Looking into this now :D
     
  6. pixxelbob

    pixxelbob

    Joined:
    Aug 26, 2014
    Posts:
    111
    vladstorm_ likes this.
  7. vladstorm_

    vladstorm_

    Joined:
    Nov 26, 2013
    Posts:
    184
    so, are they gonna fix it ? coz im really waiting for it.
    does anyone found a workaround solution ?
     
  8. pixxelbob

    pixxelbob

    Joined:
    Aug 26, 2014
    Posts:
    111
    @Horz I'm sure that's their intention, yes.
    It's been suggested that Clearing and rebuilding your Lighting/GI can resolve it. Although it didn't always for me.
     
  9. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    968
    I've not looked into this specifically, but I've just reported a few bugs in the GL-Core shader compiler (772449, 772434, 772167) and I wouldn't be surprised if this is also because of the compiler, it does seem a bit wonky at the moment.
     
  10. BearHugMark

    BearHugMark

    Joined:
    Feb 21, 2016
    Posts:
    20
    I'm also getting the same issue, and the amount of corrupt screen rendering is based on the dimensions of my play window. The problem seems to happen somewhere internally in Graphics.Blit - looks like the Position or UV coordinates of the source/target areas aren't in the right place.

    When window is slightly too wide:



    When window is much too wide:



    The distance from the left hand side of the window to where the corruption starts is the same as the width of the actual rendered game.
     
  11. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,183
    I'm poking open gl people about this. As a note: It only happens on core gl, setting player settings to legacy will work around the issue.
     
    pixxelbob likes this.
  12. BearHugMark

    BearHugMark

    Joined:
    Feb 21, 2016
    Posts:
    20
    Thanks Tim! Hopefully they get back soon. I've also noticed some other strange flickering and incorrect vertex positions randomly happening, like corrupt vertex buffers etc which is probably related.
     
  13. Sebioff

    Sebioff

    Joined:
    Dec 22, 2013
    Posts:
    218
  14. vladstorm_

    vladstorm_

    Joined:
    Nov 26, 2013
    Posts:
    184
    so, any news on this issue?
     
    oatssss likes this.
  15. inkblob

    inkblob

    Joined:
    Mar 9, 2015
    Posts:
    1
    Yeah I am going to bump this too. Really frustrating bug.
     
    oatssss likes this.
  16. vladstorm_

    vladstorm_

    Joined:
    Nov 26, 2013
    Posts:
    184