Getting an error: Assertion failed on expression: 'SUCCEEDED(hr)'

Hello,

Out of nowhere I started getting this error: Assertion failed on expression: ‘SUCCEEDED(hr)’.

I don’t know what is causing it. If i double click the error nothing happens, and I don’t have any code yet.
I am using Unity 5.5.0b1

What should I do to fix it?

Thanks

5 Answers

5

This solved the problem for me:

  1. Right click on Unity shortcut
  2. Choose “Run with graphics processor:”
  3. Choose “Integrated graphics”
    Now it opens like normal with no problems so far.

So now it is running on my “Intel(R) HD Graphics 630” instead of NVIDIA GeForce GTX 1050 Ti

Hope this helps

Thanks a lot! It really helps!

–

Yes GTX 1050 Ti needs an update or something, now a days I feel like I wasted money on mine lol.

–

Didn't help for me, but now I feel like I can test my game better lol.

–

5.5.0b2
Me to !
While changing things in Edit->preferences on an empty project.

http://forum.unity3d.com/threads/error-succeeded-hr.431300/#post-2789217

The Beta is not really stable ! Just restart the Project and Reimport Assets :wink: Works here !

those three lines do exactly what your code does, it returns -1 or 1 on x and y. Then when you release the movement key, it returns 0. You're already controlling the "sensitivity" via the moveSpeed float. These lines should give you the same movement you already have, but stop it from making you move when your not supposed to.

–

Mono develop is not properly working u need to install .net or gtk# files for mono or any other external editor to work properly

I saw my error now, yeah is the same stuff.

–