Page 1 of 1

Dimensions of color surface does not match dimensions of depth surface

Posted: Tue Jun 04, 2019 2:28 am
by numidium3rd
Is anyone else getting this error repeatedly in exteriors?
Capture.PNG
Capture.PNG (26.11 KiB) Viewed 9964 times

Re: Dimensions of color surface does not match dimensions of depth surface

Posted: Tue Jun 04, 2019 2:48 am
by Interkarma
I have not experienced this, but it does sound like the below on Unity issue tracker.

https://issuetracker.unity3d.com/issues ... fault-size

There are two new render targets in latest code - retro 320x200 target and paper doll renderer. Only the former needs a depth buffer however.

Try changing PaperDollRenderer line 128 to the below and let me know if that helps. We actually don't need the depth buffer here if this is the cause.

Code: Select all

target = new RenderTexture((int)(paperDollWidth * scale), (int)(paperDollHeight * scale), 0);
Also try disabling 320x200 mode (if enabled) and let me know if that's it.

Re: Dimensions of color surface does not match dimensions of depth surface

Posted: Tue Jun 04, 2019 3:27 am
by numidium3rd
I tried replacing the line you mentioned and ran it with non-320x200 without any luck. It only appears for me when I'm outdoors. Here's my Unity version in case anyone's curious: 2018.2.21f1.

Re: Dimensions of color surface does not match dimensions of depth surface

Posted: Tue Jun 04, 2019 8:02 am
by Interkarma
I'm also using 2018.2.21f1, interesting no problems here. It appears to be a Unity editor issue specifically and shouldn't cause issues with execution. Let's monitor and see what comes out of it, solution wise.

Do you have any other mods enabled at all?

Re: Dimensions of color surface does not match dimensions of depth surface

Posted: Thu Jun 06, 2019 2:32 am
by numidium3rd
Nope, no mods installed.

Re: Dimensions of color surface does not match dimensions of depth surface

Posted: Sat Sep 21, 2019 3:03 pm
by TheLacus
It has been reported that a few unrelated mods (Real Grass and Handpainted Models) show graphic artifacts, and a log points to this error message.

Image