Search Issue Tracker

Fixed in 5.4.0



Found in


Issue ID




[OSX] RenderSurface attachment asserts on various projects, in 5.4 beta builds



Steps to reproduce:

1. Open Unity;
2. Open attached project;
3. Open "1.unity" scene;

4. Notice that there are 3 planes in the scene with 3 different Shaders having uniform arrays parameters and script, processing those parameters at runtime;
5. Enter Play mode;
6. Zoom in/Zoom out by scrolling mouse wheel in the Scene view;
7. Wait for some time (10-20 seconds).

Actual result:
Weird errors appear in the console:

attach.color[0]->backBuffer == attach.depth->backBuffer
!attach.color[0] || !attach.color[0]->backBuffer

See attached actual.png screenshot.

- Reproduces only on OSX (10.11.4), OpenGL4.1 (GLCore) mode;
- Doesn't reproduce on Windows 10;
- The issue doesn't reproduce every time;
- The other possible symptom of this failure is that Game View becomes unresponsive and following assertions appear (in addition to abovementioned ones):

!::HasAsAttachment(GLESRenderTargetSetup(m_PendingFramebuffer), rbid)

!::HasAsAttachment(GLESRenderTargetSetup(m_CurrentFramebuffer), rbid)

Comments (38)

  1. Yamato122

    Nov 24, 2021 13:35

    The strength and power of seven amazing voices, the brightness of the protagonist, the fatefulness of his rival, the unusual sound of a large symphony orchestra, grandiose scenery and light show – genius has never been so massive! Details: <a></a>

  2. jmitcheson

    Aug 19, 2016 00:05

    I'm considering switching to Windows because apparently this is never going to be fixed? 5.4.0f1 - happens about 50% of the time I run my project. I use the reset workspace menu item about 50 times a day :(

  3. dizzlebomb

    Jul 20, 2016 19:23

    Just got this on OSX with 5.4.0f1, will look into some of the above comments.

  4. ashwinFEC

    Jul 19, 2016 08:59

    Not fixed still happens in RC1

  5. WilB

    Jul 16, 2016 12:21

    @FF1878 setting the IDE layout to Default definitely solved the problem for me. OSX. Unity 5.4.0b22.

  6. Voronoi

    Jul 11, 2016 22:13

    Still in 5.4.0b25

  7. Voronoi

    Jul 11, 2016 22:07

    Still seeing this in 5.4b25. Really annoying and hard to keep working on a project with this happening so frequently. I can confirm it does not happen on Windows, where I just finished up a project.

  8. rmb303

    Jul 11, 2016 20:54

    It's still present in 5.4.0b25 too.
    It just suddenly appears randomly.
    I might not get it for days, then one day it just pops up again.
    Quitting makes it go away, but it sometimes comes back.

  9. GilCat

    Jul 04, 2016 16:59

    Still present on b24. How can this go for so long?

  10. Enrico-Monese

    Jun 30, 2016 14:14

    Still present in b23

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.