In all the betas of 5.5 I keep getting this error:
Assertion failed on expression: ‘SUCCEEDED(hr)’
I cant make a bug report because I dont know how to reproduce it. It happen randomly.
Sometimes in empty projects even before I import nothing.
Sometimes I can work fine for hours withour error and for now reason it spawn.
Sometimes it spawn has soon as I open Unity
The problem is that once it spawn, dosnt stop and spawn like 4 times for second.
I try a lot of stuff like changing scenes, change layout, etc etc. The only thing that solves it is closing and re-open Unity.
Good thing is I can save before close.
Actually using Unity 5.5.0b3 (64-bit), but happens in all the older 5.5 beta versions
Unfortunately ‘SUCCEEDED(hr)’ is used in a lot of assertions in the engine so its not possible to narrow down the cause from that. We are trying to improve our assertion messages. Could you post the log file from when it happens?
I think most of the times it happens when I minimize the window or open something else(like the browser or vs) and when I back to Unity it start to launch that error. But sometimes also happens when I hit play, it start to spawn that error when I stop play mode. Those are the most common cases, but can happen in any momment .
The log file is right click on console > OpenEditorLog?
I’ll add it next time it happens
So it looks like its failing on D3D11Window::Reshape. You can see an error in the log just before the assert
So for some reason the width and height values are wrong.
Could you file a bug report so we can further investigate it?
Post the number here so I can follow it.
Same error popped up today in 5.5.0b3, spamming console constantly, stops when starting the app. New project, on the scene just a few buttons. Opened and closed 5.4.0f3 in parallel, before it happened, may have had something to do with it (could not reproduce).
And Editor.log spams:
Assertion failed on expression: ‘SUCCEEDED(hr)’
(Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/D3D11Window.cpp Line: 94)