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

**URL:** https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837
**Category:** Questions & Answers
**Created:** [September 11, 2016, 8:49am UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837 "2016-09-11T08:49:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Slimenian](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@Slimenian](https://discussions.unity.com/u/Slimenian)
#### Post date: [September 11, 2016, 8:49am UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/1 "2016-09-11T08:49:58Z")

</div>

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

---

<div class="post-metadata">

### Author: ![HjaltiGunnar](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@HjaltiGunnar](https://discussions.unity.com/u/HjaltiGunnar)
#### Post date: [September 3, 2018, 7:12pm UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/6 "2018-09-03T19:12:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![TEBZ\_22](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/tebz_22/32/179519_2.png) [@TEBZ\_22](https://discussions.unity.com/u/TEBZ_22)
#### Post date: [September 11, 2016, 8:04pm UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/2 "2016-09-11T20:04:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![LeonhardP](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/leonhardp/32/32_2.png) [@LeonhardP](https://discussions.unity.com/u/LeonhardP)
#### Post date: [September 15, 2016, 5:00pm UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/3 "2016-09-15T17:00:19Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Viper1928](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@Viper1928](https://discussions.unity.com/u/Viper1928)
#### Post date: [October 13, 2016, 12:15pm UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/4 "2016-10-13T12:15:24Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/system/32/97283_2.png) [@system](https://discussions.unity.com/u/system)
#### Post date: [December 11, 2017, 10:44am UTC](https://discussions.unity.com/t/getting-an-error-assertion-failed-on-expression-succeeded-hr/172837/5 "2017-12-11T10:44:38Z")

</div>

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