Search Unity

"No compatible running" from Visual Studio

Discussion in 'Code Editors & IDEs' started by anthonov, Nov 23, 2018.

  1. anthonov

    anthonov

    Joined:
    Sep 24, 2015
    Posts:
    160
    I run Unity.
    in visual : [debug] [any cpu] Attach to Unity.
    hit pause in visual -> error.
    error is :
    "No compatible code running.
    The selected debug engine does not support any code executing on the current thread (e.g. only native runtime code is executing)."

    I would like to use this pause feature to find my infinite loop.
    However breakpoints works.

    VS 15.9.2 Unity 2018.2.8f1
     
    andyMTSG and lucca_v like this.
  2. lucca_v

    lucca_v

    Joined:
    Dec 4, 2018
    Posts:
    1

    Exact same thing here, been looking for a fix all day to no avail.
     
    andyMTSG likes this.
  3. jamesnw

    jamesnw

    Joined:
    Mar 23, 2013
    Posts:
    51
    I keep getting this error as well. Every time I restart Unity and VS it seems to be ok for a short time, then debugging goes to hell again and nothing works, then I have to keep doing it. This setup is so buggy it's not funny anymore and I'm getting sick and tired of it.