Search Issue Tracker

Fixed in 4.5.X

Votes

79

Found in

4.3.0f4

Issue ID

574965

Regression

Yes

Camera with image effects throws error when certain game view aspect ratios are used

Camera

-

To reproduce:
1. Create a camera with Clear Flags set to "Depth Only" or "Don't Clear"
2. Attach an image effect to the camera
3. Set the game window scale to 16:9
4. Enter game mode. Try resizing the game window
5. "rect[2] == rt->GetGLWidth() && rect[3] == rt->GetGLHeight()" appears in the console

Does not occur with version 4.2.2f1
Seems to be related mostly to the aspect ration of the game view and the image effects.

does not occur if game view is undocked

Comments (27)

  1. Teku-Studios

    May 23, 2014 15:48

    In the latest version of Unity, setting the Game window to "Free Aspect" does not solve this issue anymore, and we are starting to have some bad performance spikes with certain fullscreen shaders. I just hope that this won't happen in the Builds.

    Please fix this as soon as possible.

  2. DaveHoskins

    Mar 29, 2014 18:29

    OK I just discovered that setting the camera that renders my Graphics.Blit function seems to want 'Solid Color' instead of 'Don't Clear' - this stops the bug appearing here. Still needs fixing though I guess. : )

  3. DaveHoskins

    Mar 29, 2014 18:16

    None of the suggested RenderTexture or Layout changes worked, and I've no idea why it suddenly started showing, unfortunately. Please fix it soon.

  4. Cynikal

    Mar 22, 2014 17:51

    Still not fixed in 4.3.4

  5. Nabeel Saleem

    Mar 21, 2014 19:39

    goto >windows>layouts and change it to default . should fix it. it fixed mine!
    http://unity3diy.blogspot.co.uk

  6. merlin981

    Mar 20, 2014 15:56

    This is still not fixed in 4.3.2 f1. For Vignetting component, throws this error on a resolution of 2048 x 1536

  7. Beecher

    Mar 03, 2014 09:51

    Not being fixed even on 4.3.4f1.

  8. Capn_Andy

    Feb 25, 2014 23:54

    Please re-open this issue, not fixed here either.

  9. JJks

    Feb 25, 2014 09:03

    My unity is 4.3.2f1 pro and fount it's not fixed! Please fix it!

  10. joni.giuro

    Feb 22, 2014 17:07

    I just downloaded the last version and it's still not fixed

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.