Search Unity

SuspendThread loop failed occur.

Discussion in 'Editor & General Support' started by BelieveXiaoShuai, Mar 26, 2020.

  1. BelieveXiaoShuai

    BelieveXiaoShuai

    Joined:
    Nov 6, 2017
    Posts:
    21
    upload_2020-3-26_16-30-49.png
    When I use Visual Studio 2019 or Rider 2019.2 to debug Unity 2019.2.1f1, I often encounter the problem of SuspendThread loop failed. The whole editor cannot be operated. I have to forcibly close the editor and restart Unity with the task manager.
     
    ffxiangyu likes this.
  2. Landis2020

    Landis2020

    Joined:
    Oct 21, 2013
    Posts:
    1
    I have the same problem.
     
  3. E779

    E779

    Joined:
    Jul 22, 2019
    Posts:
    1
    I have the same problem.
     
  4. Deleted User

    Deleted User

    Guest

    i have the same problem .it is Unity Bug?
     
  5. sichch

    sichch

    Joined:
    Aug 1, 2016
    Posts:
    2
    I have same problem. In my project, multi thread cause that. After delete thread.join(),error disappear. Hope helpful.
     
    a674878955 likes this.
  6. Savidiy

    Savidiy

    Joined:
    Oct 16, 2016
    Posts:
    7
    I have the same problem.
     
  7. Rodr4

    Rodr4

    Joined:
    Apr 12, 2021
    Posts:
    1
    I have the same problem, almost every day it crashes one or more times. One year later and no responses yet?
     
  8. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
    Same problem here. Happens 2-3 times a day since I switched to a Dell XP 9700 (Unity 2020.3.8f1)
     
  9. edazhang

    edazhang

    Joined:
    Apr 1, 2020
    Posts:
    2
    1. Close the unity editor and open a new.
    2. Switch to debug mode in unity editor
    3. Start debug in vs
    upload_2021-6-25_10-42-11.png
     
  10. nhsorakukro

    nhsorakukro

    Joined:
    Jun 28, 2020
    Posts:
    1
    Could not be resolved.
     
  11. AsgMostafa

    AsgMostafa

    Joined:
    Jan 3, 2021
    Posts:
    1
    same here. It freezes with exact error every other time I try to debug using rider 2021.1. if anybody happens to find a solution even a hacky one, would be appreciated.
     
  12. Jump2Sky

    Jump2Sky

    Joined:
    Sep 29, 2021
    Posts:
    1
    My platform is untiy2019 and vs2019. I also had the same problem of "SuspendThread loop failed", but I solved it. it very simple. The Untiy console said "reommend change the Visual Studio Editor ", So I opend the unity's menu: window-> Package Manager->Package: Unity Registry, update the “Visual Studio Editor" to version 2.0.11, and Visual Studio Code Editor to version 1.2.4. it 's working。
     
    Last edited: Sep 29, 2021
  13. zagrizzl

    zagrizzl

    Joined:
    Jul 17, 2019
    Posts:
    7