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. 4100cb4d01222f84ebc560a7b0675b7d?d=mm

    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. 777ee79e8b2c7e796cc7fc9f8162b983?d=mm

    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. 777ee79e8b2c7e796cc7fc9f8162b983?d=mm

    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. C229ab4a65c236bda29bbb4c9f49b765?d=mm

    Cynikal

    Mar 22, 2014 17:51

    Still not fixed in 4.3.4

  5. 38a111eaaab767139ef1782832c24da5?d=mm

    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. 9167d8537ed0411254b466759e376f6c?d=mm

    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. Aaa366935395cb684d8151682d43f436?d=mm

    Beecher

    Mar 03, 2014 09:51

    Not being fixed even on 4.3.4f1.

  8. B27645cd58857dd9aa40385cca57b7ef?d=mm

    Capn_Andy

    Feb 25, 2014 23:54

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

  9. 5db68b2112c8dcb785cfefb204c518a7?d=mm

    JJks

    Feb 25, 2014 09:03

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

  10. 2409db1e6d39124339e26cad47a7183c?d=mm

    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.