Search Unity

Blank Unity Editor, Assertion failed : Assertion failed on expression : 'SUCCEEDED(hr)'

Discussion in 'Editor & General Support' started by nicholask219, Mar 22, 2018.

  1. nicholask219

    nicholask219

    Joined:
    Jun 13, 2017
    Posts:
    4
    So, I want at the start of Unity Editor, the editor becomes white blank like this pic below

    Any help and suggestion for this issue? I have reinstall Unity and the same issue still exist.
    Thanks Screenshot (125).png
     
    Last edited: Mar 22, 2018
    dyamanoha_ and Tibauvdb like this.
  2. rafaelbrusco

    rafaelbrusco

    Joined:
    May 28, 2018
    Posts:
    1
    same for me
     
  3. olegzheleztsov

    olegzheleztsov

    Joined:
    Oct 15, 2017
    Posts:
    9
  4. thomas-gg

    thomas-gg

    Joined:
    Jun 6, 2018
    Posts:
    1
    Deleted User likes this.
  5. Deleted User

    Deleted User

    Guest

    i had the same problem i checked the drivers following Thomasthom suggestion and they where all up to date but i noticed i had 2 display adaptors an intel HD graphics one and an nvidia one so i concluded that unity was using the intel one that didnt suport DX11 so i disabled the intel so it would definitively use the nvidia
    the screen flickered and changed settings winch i changed back then opened unity and voila it worked
    i guess unity doesn't play well with laptops that use intel HD graphics to save power
    note tat doing this will negatively impact battery so reactivate intel HD graphics after you use unity
     
  6. Deleted User

    Deleted User

    Guest

    update
    not satisfied with the above solution because it also stopped dual monitor from working
    so i tried this
    https://us.answers.acer.com/app/ans...49.558452771.1530544142-1132505082.1530544142
    but to no awail

    then i with the intel HD graphics disabled i opened unity then folowing
    https://docs.unity3d.com/Manual/UsingDX11GL3Features.html
    unpick auto API for windows then click + sign select openGLcore
    click and drag openGLcore above direct3d11
    acept
    re enable intel HD graphics
    unity still works dual monitor works
    nvidia gpu activity says unity is running on the gpu
    but I have my doubts
     
  7. SelfishReplicator

    SelfishReplicator

    Joined:
    Oct 28, 2015
    Posts:
    2
    I had the white screen problem as well. Disabling the Intel card seemed to solve this, but the Unity Editor got extremely sluggish in larger projects. Windows 10 did not have an update for the Intel graphics driver, but the Intel Download Center did, at least for me: https://downloadcenter.intel.com/product/88345/Intel-HD-Graphics-530
    After installing this, things seem to work fine again. Not white screens and the sluggishness is gone.
     
  8. jpflc2302

    jpflc2302

    Joined:
    Aug 18, 2018
    Posts:
    3
    For me it didnt worked
     
  9. jpflc2302

    jpflc2302

    Joined:
    Aug 18, 2018
    Posts:
    3
    I already seted my nvidia to receive the unity,
    the unity is executing in nvidia but still giving the same error
     
  10. jpflc2302

    jpflc2302

    Joined:
    Aug 18, 2018
    Posts:
    3
    my nvidia is an 1050Ti
     
  11. Karamelo

    Karamelo

    Joined:
    Feb 14, 2018
    Posts:
    2
    I have Nvidia 1050Ti too. Did you solve the error?
    When I set to use Intel Integrated unity works, but in nvidia I get the error. (White spaces) 2018-09-17 03_40_35-Window.png
     
  12. Deleted User

    Deleted User

    Guest

    so my current solution to this is
    menu: Edit > Project Settings > Player
    on the inspector go oher setings
    unpick auto API for windows then click + sign select direct3d12
    drag it above direct3d11
    apply
     
  13. av8orfliboy

    av8orfliboy

    Joined:
    Nov 23, 2017
    Posts:
    1
    I've been searching for a solution forever and this finally worked for me!

    Thank you!!!
     
  14. ricardofonseca_c

    ricardofonseca_c

    Joined:
    Jul 25, 2019
    Posts:
    1

    Thanks a lot!
     
  15. Gennadii77

    Gennadii77

    Joined:
    Oct 2, 2016
    Posts:
    2
    so my current solution to this is
    menu: Edit > Project Settings > Player
    on the inspector go oher setings
    unpick auto API for windows then click + sign select direct3d12
    drag it above direct3d11
    apply

    It doesn't work for me. I don't have direct3d12 in menu. only direct3d11
     
  16. RogellParadox

    RogellParadox

    Joined:
    Jan 20, 2019
    Posts:
    6
    Did it and now my project won't load because Unity CRASHES.
     
  17. Scrembetsch

    Scrembetsch

    Joined:
    Apr 11, 2018
    Posts:
    1
    My solution is nearly the same, but instead of selecting direct3d12 I selected Vulkan. For me, it also worked to use OpenGL ES2.

    My graphics card: GeForce GTX 1050Ti (Notebook)

    Edit: I can now start Unity with standard configuration. My fix for this was to update my Intel graphics driver (Even though I start Unity with my Nvidia).
     
    Last edited: Jan 30, 2020
  18. Shenkee

    Shenkee

    Joined:
    Apr 4, 2019
    Posts:
    1
    My solution was -> blocking the standard intel card in the laptop in order for the unity to be handled by my 1050. it worked like a charm. then do not forget to re-enable the "standard" card.
     
  19. james-bang

    james-bang

    Joined:
    Oct 13, 2015
    Posts:
    5
    I've done the following with some extra and it worked for me.
    At first I disabling the IntelHD card solved the issue but then I was not able to use workspace with a double screen somehow. So what I did:

    1. disable the Intel HD card in the device manager
    2. unplug my secondary monitor
    3. launch Unity
    4. enable again the Intel HD card
    5. and then replug my secondary monitor
    6. and then "voilà !" :)

     
    pacobarbe3531 likes this.
  20. AliAlshahristani

    AliAlshahristani

    Joined:
    Oct 16, 2020
    Posts:
    1
    ok this is how I fixed it:
    1.Go to device manager
    2.expand a tab called "display adapters"
    3.right click on one of the display adapters and disable it
    4. restart unity and see if it works
    5.if it doesn't work go back to device manager and enable the display adapter that you disabled
    6.disable the display adapter that you did not disable last time (disable the opposite display adapter)
    7.restart unity and see if it works

    p.s. for me disabling the radeon display adapter worked (not the intel integrated graphics)
     
    aarushbusiness949 likes this.
  21. Immaculate5321

    Immaculate5321

    Joined:
    Feb 13, 2019
    Posts:
    1
    I was having this issue (and it did work for me if I disabled one of my devices but that wasn't an acceptable solution for me) What I had to do was manually update the drivers on my Acer my intel driver was from 2017. Check the latest date on your device manager > display adapters. I had to manually download the latest driver from intel and update from the file. I also updated the NVIDIA driver I had but I don't think that was required.
    ------ from the log
    Assertion failed on expression: 'SUCCEEDED(hr)'
    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/D3D11Window.cpp Line: 186)
     
  22. eltonn

    eltonn

    Joined:
    Feb 8, 2018
    Posts:
    1
    Hello, I had the same problem. I correct it by following this video


    Hello, I had the same problem. I correct it by following this video. 1st go to graphics settings. 2nd go to browse to find the unity folder where you install it. Then Editor: and select the application: Unity.exe, add 3rd click on the unity application in graphics settings go to options and select power saving.

    Hello, I had the same problem. I correct it by following this video. 1st go to graphics settings. 2nd go to browse to find the unity folder where you install it. Then Editor: and select the application: Unity.exe, add 3rd click on the unity application in graphics settings go to options and select power saving.
     
    luscverse likes this.
  23. rishavjainmails

    rishavjainmails

    Joined:
    Jun 10, 2021
    Posts:
    1
    I know how to fix it first go to file>open recent scene>which scene you have to go in and done!
     
  24. aarushbusiness949

    aarushbusiness949

    Joined:
    Oct 30, 2020
    Posts:
    2
     
  25. aarushbusiness949

    aarushbusiness949

    Joined:
    Oct 30, 2020
    Posts:
    2
    thanks this works for me
     
  26. Lebeg134

    Lebeg134

    Joined:
    Mar 3, 2022
    Posts:
    1
    I've encountered this problem as well.
    My secondary monitor was plugged into directly the motherboard. Pluging it into my videocard instead solved the issue.
     
  27. Fernando-Ferreira

    Fernando-Ferreira

    Joined:
    Nov 9, 2015
    Posts:
    13
    still happening in Unity 2021.3.9f1 but in Unity 2020.3.41f1 is working perfectly
     
  28. rmele09

    rmele09

    Joined:
    Nov 8, 2010
    Posts:
    716
    this is happening to me now and nothing is working 2022.1.23f1
     
    Bitlxn likes this.
  29. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    This morning Unity LTS 2021.3.19f1 struggled to open after several attempts. Finally, my game opened, but when I pressed play, there was this console error message triggering one per frame approx:

    Assertion failed on expression: 'SUCCEEDED(hr)'
    I just restarted Unity one more time, and now it is gone.
    Now it triggers again; I debug up to a line of code.


    DESCRIPTION
    It triggers When
    • I change the camera Field of View
    • using C# variable: cameraFOVDamp
    • sceneCamera.fieldOfView = cameraFOVDamp;  //   <---------------<<<
    SOFTWARE
    Unity LTS 2021.3.19f1
    HDRP

    HARDWARE
    NVIDIA RTX 3090
    2 monitors 4K TV55'

    You were using
    .fieldOfView
    inside the code?
     
    Last edited: Mar 1, 2023
  30. rmele09

    rmele09

    Joined:
    Nov 8, 2010
    Posts:
    716
    cant remember, I'll have to go back and check if this is still happening
     
  31. karim4ever1997

    karim4ever1997

    Joined:
    Jul 13, 2022
    Posts:
    1
    Worked for me thanks.
     
  32. MonkeyPuzzle

    MonkeyPuzzle

    Joined:
    Jan 17, 2016
    Posts:
    119
    same