Dimensions of color surface does not match dimensions of depth surface
- numidium3rd
- Posts: 187
- Joined: Sun Mar 25, 2018 12:34 am
- Location: United States
Dimensions of color surface does not match dimensions of depth surface
Is anyone else getting this error repeatedly in exteriors?
Nexus DFU Mods:
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Dimensions of color surface does not match dimensions of depth surface
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.
Also try disabling 320x200 mode (if enabled) and let me know if that's it.
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);
- numidium3rd
- Posts: 187
- Joined: Sun Mar 25, 2018 12:34 am
- Location: United States
Re: Dimensions of color surface does not match dimensions of depth surface
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.
Nexus DFU Mods:
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Dimensions of color surface does not match dimensions of depth surface
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?
Do you have any other mods enabled at all?
- numidium3rd
- Posts: 187
- Joined: Sun Mar 25, 2018 12:34 am
- Location: United States
Re: Dimensions of color surface does not match dimensions of depth surface
Nope, no mods installed.
Nexus DFU Mods:
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Dimensions of color surface does not match dimensions of depth surface
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.