Unity: Fix IntelliSense and Error Checking in Visual Studio

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 115

  • @Digestible
    @Digestible  7 месяцев назад +1

    Are errors STILL not showing after this? (I've found a few instances where something else is unlinked) There is another thing you can try - check out this video for next step: ruclips.net/video/4KoJ7Dw2rDI/видео.html

  • @vinnysh5664
    @vinnysh5664 2 года назад +7

    300 Random forum posts weren't able to fix the problem, but you were. Thank you so much, you have no ideia how much i appreciate your help

  • @zirmunchiez8632
    @zirmunchiez8632 Год назад +2

    Trying to self-teach/learn coding, having Visual Studio show you where errors are is so helpful. I updated Unity and was completely lost as to why VS was doing this. Lost the entire day trying to find the fix before finding your video rather late in the night. I've stared at experimental lines racking my brain trying to figure out why the compiler is running into errors only to finally look at the error list and see I'm missing a parentheses or a semicolon somewhere. THANK YOU!

    • @Digestible
      @Digestible  Год назад

      I'm so glad this helped. I am not sure why these latest versions of Unity seem to disconnect from VS (they never had before). Keep an eye out for the "miscellaneous files" thing at the top - it may happen again. I am going to see if I can find out how to fix it for good... Anyway I wish you well on your coding journey - I do have a bunch of videos that cover "traditional" coding topics but while using Unity - hopefully you find those useful too.

  • @systembypass6930
    @systembypass6930 2 дня назад

    You just got another sub. I've been struggling for days with this issue and viola here it is. Thank you miss so much

  • @stylie473joker5
    @stylie473joker5 2 года назад +18

    Sadly visual studio code was already selected and the problem isn't fixed

    • @Vitaxses
      @Vitaxses 2 года назад +1

      same

    • @diegomorales7290
      @diegomorales7290 Год назад

      try making sure the "Embeded Packages" and "Local Packages" boxes below in Preferences > External Tools are also checked

    • @stylie473joker5
      @stylie473joker5 Год назад

      @@diegomorales7290 I fixed the problem it was the .Net packages i reinstalled them completely

    • @dest5218
      @dest5218 6 месяцев назад +2

      @@stylie473joker5 please I need a breakdown of what you did?

  • @diegomorales7290
    @diegomorales7290 Год назад +2

    Thx, really huge help.
    For futre reference to other ppl:
    - try making sure the "Embeded Packages" and "Local Packages" boxes below in Preferences > External Tools are also checked
    - uninstall and then reinstall Visual Studio extentions such as the "C#" one

  • @VysePresidentGeo
    @VysePresidentGeo 2 года назад +13

    This was an immense help to me. Thank you so much!

    • @Digestible
      @Digestible  2 года назад +4

      Glad to hear it! Easy fix to an annoying problem!

    • @cgillis3989
      @cgillis3989 2 года назад

      @@Digestible Any chance you could help me out? It still seems to not want to cooperate with me

  • @thegamerpig6196
    @thegamerpig6196 4 месяца назад

    Thank you! I was so confused on why this wasn’t showing up! This really helps!

  • @PanzerSparrow
    @PanzerSparrow Год назад +2

    I've been trying to fix this for hours! Thank you SO much!

  • @E_Everything
    @E_Everything 13 дней назад

    Thanks this worked I tried a lot of random solutions but this one actually worked

  • @Dalton-g5k
    @Dalton-g5k Год назад +1

    Thank you! Never thought id be happy to see an error😂

  • @nevinsean1462
    @nevinsean1462 2 года назад

    Thank you so much! I was puzzling for so long, browsing through Google on what to do, even trying to figure it out by myself. Such a clear and easy explanation.

  • @edusan1213
    @edusan1213 Год назад +1

    Thanks! I've been trying to fix this for hours!

  • @kilawen
    @kilawen 9 месяцев назад

    THANKYOU!!! ur the best for making this, been trying to figure it out for way too long

    • @Digestible
      @Digestible  9 месяцев назад

      I'm glad it helped you!

  • @Greg-ih4fz
    @Greg-ih4fz Год назад

    If you still have such problem just try to reload project. It helped me.

  • @KaanMuradoglu
    @KaanMuradoglu 2 года назад

    looking for missing component for 2 hours. this helped me ty a lot

  • @isown8131
    @isown8131 Год назад +1

    i love you, thanks! Its weird tho that i dont get any error corrections in visual studio when i just code without unity. But since im using it only for unity its fine for now

  • @HammaGaming
    @HammaGaming Год назад

    I have a problem with visual studio that some times gives me false errors and won't update checking the errors

  • @VictorSilvestri
    @VictorSilvestri 2 года назад +3

    thank you greatly!

  • @oakboy
    @oakboy Год назад +1

    This video is a life saver thank you

  • @eliaserduno8929
    @eliaserduno8929 2 года назад +3

    Super helpful👌👏👏🥰

  • @redwilliams1804
    @redwilliams1804 2 года назад +3

    Thank you so much!

  • @BudgiePanic
    @BudgiePanic Год назад +1

    Thanks. I encountered this error after a fresh install, forgot to configure this

  • @pranavprajyot4954
    @pranavprajyot4954 7 месяцев назад

    Loads of thanks!

  • @thestralner6335
    @thestralner6335 8 месяцев назад

    lifesaver, thank you

  • @KMP_15
    @KMP_15 Год назад

    Saved my school project 🫡

    • @Digestible
      @Digestible  Год назад

      So glad I could help! I hope it goes well for you.

  • @DarkTemplar42
    @DarkTemplar42 2 года назад +1

    thanks a lot! this really helped!

  • @aalperbayram
    @aalperbayram Год назад

    Thank you! Was wondering about that. Problem solved.

  • @hardworkerstudio
    @hardworkerstudio 9 месяцев назад

    Thank you, and it used to fix, But this time is not! I did everything you said, But my scripts are still miscellaneous what happen?

    • @Digestible
      @Digestible  9 месяцев назад +1

      hmmm... did you close visual studio & open the script again through unity (not from visual studio)? I think i've had it not work and then i went back into unity and opened the script again through there & it registered fine.... I'm not sure why it wouldnt connect for you. I hope you can get it working!

    • @hardworkerstudio
      @hardworkerstudio 9 месяцев назад +1

      @@Digestible I finally fix it, just by reimport all assets again... I don't know what happen

  • @bz101
    @bz101 Год назад

    Thank you! big help.

  • @dani.d506
    @dani.d506 Год назад

    Thank you so much, this was a rlly big help!

  • @전사-l2k
    @전사-l2k 2 года назад +2

    thank you!

  • @DingusTheSecond
    @DingusTheSecond Год назад

    Thank you, very helpful video

  • @xermi00
    @xermi00 2 года назад

    Thanks, this helped me so much!

  • @gamingcrick9514
    @gamingcrick9514 8 месяцев назад

    Thanks it fix my problem

  • @omdattani4785
    @omdattani4785 2 года назад

    Thanku very much really helpful

  • @HoowlerAlttt
    @HoowlerAlttt 9 дней назад

    oh i love you thank you so much

  • @elid9532
    @elid9532 Год назад

    It still says Miscellaneous Files at the top left after I followed all the steps, why is it not working?

    • @Digestible
      @Digestible  Год назад

      Ive run into that before where i had to close visual studio then re-open through unity. I've even seen it where i had to close both unity & visual studio then re-open - I'm not sure why it is so stubborn sometimes. I hope that helps & it is finally working for you

    • @Digestible
      @Digestible  7 месяцев назад

      Not sure if you have fixed this or not, but I just found another thing you can try - check out this video for another thing that might fix it for you: ruclips.net/video/4KoJ7Dw2rDI/видео.html

  • @chaosthunder
    @chaosthunder 2 года назад +2

    Thanks for this lol

  • @himynameishello
    @himynameishello Год назад

    Thank you this helped me so much 😊😊😊

  • @vivankumar2022
    @vivankumar2022 Год назад

    Your the best thank you so much

  • @yassinmomo344
    @yassinmomo344 2 года назад

    that's amazing ty so so so so much u make my life easier

  • @superflamingo1238
    @superflamingo1238 2 года назад +1

    Thank You So Mutch

  • @Kayla_Atreides
    @Kayla_Atreides Год назад

    OMG thank you so much.

  • @philipventer07
    @philipventer07 4 месяца назад

    Lifeeeee saver. TYSM

  • @ogunrindedaniel9230
    @ogunrindedaniel9230 2 года назад +1

    Thanks

  • @MarkPeterson2023
    @MarkPeterson2023 2 года назад +1

    👏 👏 👏 thank you

  • @Mumbolian
    @Mumbolian Год назад

    Anyone else have issues with errors not being tracked in the error log?
    Everything in the video works exactly fine. I get red lines etc, but it doesn’t report any compile errors in the error log.
    I have to go to Unity to find out what errors I have if I don’t spot a red line.
    Totally busted and I can’t work out how to fix it.

    • @Digestible
      @Digestible  Год назад

      I dont know if this will help but worth a try: Double check in the upper left corner of the open script to make sure it ends up saying "Assembly-Csharp" and NOT "miscellaneous files". Even after the change if it still says the miscellaneous files Unity isnt really connecting. You could also try closing Vis. Studio then re-opening the script in Unity to see if that helps.

  • @FrankP0ps
    @FrankP0ps 6 месяцев назад

    Thank you so much, I was pulling my hairs out. I might still stand a chance to not become bald.

    • @Digestible
      @Digestible  6 месяцев назад

      So happy to help save the hair!

  • @ibrahemakil-x6d
    @ibrahemakil-x6d 3 месяца назад

    Thanks very much

  • @CaptainChubbyDuck
    @CaptainChubbyDuck Год назад

    I have setup external tools but it still doesnt work...

    • @Digestible
      @Digestible  7 месяцев назад

      Not sure if you have fixed this or not, but I just found another thing you can try - check out this video for another thing that might fix it for you: ruclips.net/video/4KoJ7Dw2rDI/видео.html

  • @loganroche2706
    @loganroche2706 2 года назад +1

    Thank yoiu so much!!!

  • @jaylenjames364
    @jaylenjames364 10 месяцев назад

    The 🐐

  • @dalerodinaev3725
    @dalerodinaev3725 Год назад

    Thank you so much!)

  • @sheep177
    @sheep177 2 года назад

    Thank you very much

  • @gasparo8907
    @gasparo8907 5 месяцев назад

    THANK YOU!!!

  • @LEVELSTAIROfficial
    @LEVELSTAIROfficial 9 месяцев назад

    this is my fifth video. everyone saying edit>pref>tools> select code editor.
    mine is already selected on VS 2022 but still no syntax highlighting. and I even modified according to previous videos where selecting game development with unity module to VS. and still no syntax highlighting. need help

    • @Digestible
      @Digestible  7 месяцев назад +1

      did you ever get it working? I just found a way to help someone who had this as a problem - if it still doesnt work try this: in visual studio open the solution explorer - in the one I saw Assembly C-sharp indicated it was "unloaded" for some reason. by right-clicking and choosing "Reload project with dependencies" it fixed it. Let me know what you did or found out or if it is working! So frustrating when it isnt showing!

    • @LEVELSTAIROfficial
      @LEVELSTAIROfficial 7 месяцев назад

      @@Digestible Thanks for getting back to reply. THAT FIXED IT!!!! its all good now. this was the answer i've been dying for all these times. Thank a ton mate. Cheers 🙌🙌✨✨💫💫

    • @Digestible
      @Digestible  7 месяцев назад

      @@LEVELSTAIROfficial That is FANTASTIC to hear! I was trying to help a student of mine and was having real difficulty figuring out what was going on. Thank you for letting me know it worked! I might make another video with this in case others run into this as well. (the trick will be how to figure out how to "break" my link in order to show how to fix it!)

  • @aurthsmith3795
    @aurthsmith3795 Год назад

    Great vid

  • @themixedmaster
    @themixedmaster 2 года назад

    1:57 visual studio isn't appearing in the dropdown menu for me

    • @ayoubchbab5602
      @ayoubchbab5602 2 года назад

      Same thing here

    • @ayoubchbab5602
      @ayoubchbab5602 2 года назад

      You must add the path of the Visual studio application

    • @siebenzwei87
      @siebenzwei87 2 года назад

      had the same problem, manually go in your visual studio folder, than in the common7 folder, than in the IDE folder and than look for devenv.exe and select it, that should fix the problem.

  • @ameerhamza-zu4lj
    @ameerhamza-zu4lj 2 года назад

    thank you so much for helped

  • @kodesh8751
    @kodesh8751 3 месяца назад

    Thank you so much subed

  • @rubelhossain1392
    @rubelhossain1392 5 месяцев назад

    thank you

  • @siebenzwei87
    @siebenzwei87 2 года назад

    Thank you so much, although for me it didnt appear as an option in unity, so I had to manually select it. For those having the same issue look in your Visual Studio folder and open the Common7 folder than the IDE folder and than look for devenv.exe that is the right executable.

  • @fieryninja2374
    @fieryninja2374 Год назад

    How about visual studio code?

  • @Latmov1234
    @Latmov1234 2 года назад

    This just enabled spell check not code check.

  • @valexsajx5943
    @valexsajx5943 Месяц назад

    TE AMO MUCHO

  • @FlashGames007
    @FlashGames007 2 года назад

    This method not helping with VS Code

  • @noniceq2096
    @noniceq2096 7 месяцев назад

    I love u

  • @petarashmalaj
    @petarashmalaj 2 года назад

    thx : )

  • @uniballpen
    @uniballpen Год назад

    thx

  • @brwed
    @brwed Год назад

    worked but when i restarted unity it stopped working again thank you tho

  • @cgillis3989
    @cgillis3989 2 года назад

    This was SO close to helping me, as it's exactly what I'm looking for, but I'm afraid It still doesn't work :( Could someone help me?

    • @Digestible
      @Digestible  2 года назад

      Sometimes you need to close unity & visual studio after doing this & re-open the script through unity in visual studio to see if it then works (just changing the setting may not fix it on its own). I'm not sure what else to tell you without knowing/seeing what the issue might be

    • @cgillis3989
      @cgillis3989 2 года назад

      @@Digestible Okay, I'll let you know. Thanks!

    • @cgillis3989
      @cgillis3989 2 года назад

      @@Digestible So I did re-open each- doesn't seem to want to cooperate. Visual studios did show me some kind of extension I could download involving Unity. I think I did, but maybe I'm missing a step. Any ideas? (Btw I really appreciate the help)

    • @Digestible
      @Digestible  2 года назад

      @@cgillis3989 Ok - here is one more thing I've personally seen that you can try and then I'll post what I've seen some others have suggested. If those dont work I'm not sure what to tell you
      One thing to try that I've seen:
      Sometimes this line is auto generated at the top of the script that messes things up:
      using System.Diagnostics;
      If you see this delete that line. I've seen it mess with intellisense and mark things like Debug.Log("") as an error
      =====
      After that I"m really just guessing. Here are a few things I've found on boards that others have found worked:
      - Make sure Visual Studio Editor package is updated
      Window > Package Manager then select Visual Studio Editor, click update button (if available)
      - verify Generate .csproj files checkboxes are checked for:
      Edit > Preferences > External Tools
      - Embedded Packages
      - Local Packages
      - Try regenerating project files
      Edit > Preferences > External Tools push Regenerate Project files button
      I hope one of these things works for you! If it does please let me know what fixed it for you

    • @cgillis3989
      @cgillis3989 2 года назад +1

      @@Digestible Howdy, sorry for the late reply
      So I just opened it (It took a long time to open so maybe it was updating) But now it seems to work? It didn't before but now I guess it does; my computer is a bit slow in general so maybe it just needed more time.
      So everything worked out; nothing wrong on your part :) And I'd like to just say thanks a lot for helping out, with this video AND your reply. Cheers, friend!

  • @gegi4577
    @gegi4577 Год назад

    you're fucking goddess. thank you!

  • @filmsthatsuck
    @filmsthatsuck Месяц назад

    "pretty easy fix" i watched 7 videos of this to try and fix this and its still not working, im now trying yours lets hope it work

  • @roi330
    @roi330 11 месяцев назад +1

    thank you!

  • @Ugur9825
    @Ugur9825 11 месяцев назад +1

    Thanks

  • @ibrahemrafee2397
    @ibrahemrafee2397 2 года назад

    Thank you so much!

  • @kierantitmas3489
    @kierantitmas3489 Год назад

    Thank you!

  • @elquinhernandez2278
    @elquinhernandez2278 Год назад

    Thank you!

  • @siddharthmehra5796
    @siddharthmehra5796 2 года назад

    Thank you so much!

  • @HQYT1
    @HQYT1 Год назад

    thanks

  • @Scaazlol
    @Scaazlol 2 года назад

    Thanks!

  • @huzaifashmo
    @huzaifashmo Год назад

    thanks

  • @christophergeorgia9670
    @christophergeorgia9670 Год назад

    tysm