Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

"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:
    50
    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.