Search Unity

visual studio not showing me red lines

Discussion in 'Scripting' started by brunoenvia, Aug 19, 2019.

  1. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    my visual studio isnt showing red lines for some reason. im new into programming so i dont know where im failing my code, red lines helped me a lot. anyone knows how to fix this
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,776
    By red lines, you mean underlined text?
    when last time your VS worked. What have you changed? Which VS version you have? Which Unity version you have?
     
  3. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    yes, the red squiggly lines that appear when you type something wrong
    i formatted my disk 2 days ago, but only started with unity today again
    i installed version 2.1f with the same visual studio i had before. the 2017 version
    i tried 2019 but there's no red lines as well, and it's more confusing since there is no blue
    text for variables or light blue for variable types.
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,776
    Try reinstall VS, or Unity.
    The installation order of VS - Unity may have importance. For example, if you installed Unity before VS and all relevant packages. Just a guess however.