Search Issue Tracker

Not Reproducible

Votes

32

Found in

5.4.0b22

Issue ID

805222

Regression

Yes

SUCCEEDED(hr) error message after editor regains focus

IMGUI

-

1. open succeded scene
2. expend canvas and select button
3. hit the color widget in image script to change its color
4. hit the color picker button
5. select a color anywhere
6. close color picker
7. hit anywhere in wondows away from unity
8. re-click scene view
9. redo steps 4 to 8.

result: SUCCEEDED(hr)
rc.right == m_GfxWindow->GetWidth() && rc.bottom == m_GfxWindow->GetHeight()

Found in 5.4.b22

Comments (44)

  1. KCAR

    Jan 15, 2017 04:10

    Jan 14, 2016, Error still occuring

  2. Exorion

    Jan 12, 2017 16:38

    Why is this closed ? It's still hapenning to a lot of people, and still happening today with last version.

  3. C_Hayes

    Dec 26, 2016 19:30

    I found that closing and re-opening unity fixed the error (or at least stopped it from showing up in the footer).

  4. igorkostan

    Dec 26, 2016 06:57

    See logs attached:
    SUCCEEDED(hr)

    (Filename: C:/buildslave/unity/build/Runtime/GfxDevice/d3d11/D3D11Window.cpp Line: 94)

    d3d11: swap chain: w=89849434 h=32766 fmt=28
    d3d11: failed to create swap chain [0x80070057]
    rc.right == m_GfxWindow->GetWidth() && rc.bottom == m_GfxWindow->GetHeight()

    (Filename: C:/buildslave/unity/build/Editor/Platform/Windows/EditorWindows.cpp Line: 1372)

  5. igorkostan

    Dec 26, 2016 06:55

    test

  6. igorkostan

    Dec 26, 2016 06:50

    Hi all.

    Using Unity v5.4.
    I came a cross with this issue after I implemented instructions from this video: https://unity3d.com/learn/tutorials/projects/space-shooter-tutorial/creating-shots?playlist=17147

    Does anyone know what this error means and how to fix it?

    Thanks

  7. B-Mills

    Dec 06, 2016 13:26

    I'm also having this issue in 5.4.1f1

  8. Danua

    Dec 03, 2016 18:09

    same, i get it always every time when work with unity, I hate this aRRRRRRGH

  9. VirtualDawn

    Nov 30, 2016 10:01

    5.4.2f2

    I get this error when I refocus on Unity window.
    I tried changing layout to default and lo and behold, the Succeeded(hr) doesn't happen.

    I pinned this down to closing project window tab on one of my custom layouts, but on another one closing SECTR Audio fixed it.
    I feel like this problem has something to do with the window sizes inside unity, and not specific tabs per se.

    The only default layouts that give me this error are 2 by 3 and 4 split.
    In the 2 by 3, the problem goes away by closing either scene or game view windows.
    In the 4 split closing 3 of the 4 scene windows or everything else than the scene windows, does the trick.

    In any case, I think going to default layout, or building a new layout from that as base, will fix it temporarily.

  10. Adenio_Fuchs

    Nov 25, 2016 12:09

    I had this problem recently.
    It disappears after activating the options in "Forward Rendering Options" (Specular Highlights and Reflections) in one of the materials I have on the scene.

    I re-started Unity and the message is gone.

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.