Forum begins after the advertisement:
[General] Version 2021.3.0f1 error
Home › Forums › Video Game Tutorial Series › Creating a Metroidvania in Unity › [General] Version 2021.3.0f1 error
- This topic has 13 replies, 2 voices, and was last updated 6 months, 2 weeks ago by
Terence.
-
AuthorPosts
-
December 31, 2023 at 9:38 am #12817
Logan Nunez
ParticipantThis code appeared as soon as I started a new game for this tutorial, and I think it is because I am using version 2021.3.0f1 because I have a separate game on a more recent version that works fine. But I would prefer to use the older version because it is the one used in the tutorial for the Metroidvania game. Is there any way to fix this and keep this version of Unity?
December 31, 2023 at 11:29 am #12818Terence
KeymasterHi Logan,
From the Editor, try going to Window > Package Manager and updating the “Visual Studio” package. Then close and reopen your project. Let me know if that works for you.
If that fails, can you go to Edit > Preferences and take a screenshot of your External Tools tab?
December 31, 2023 at 11:46 am #12819Logan Nunez
ParticipantNothing happened. Here is what my External Tools tab look like:
December 31, 2023 at 11:58 am #12820Terence
KeymasterDid you try clicking on the Regenerate Project Files button on the External Tool window?
Alternatively, another option is to delete your Library and Packages folder (back up your Packages folder before you delete it though), then reopening the project.
December 31, 2023 at 12:59 pm #12823Logan Nunez
ParticipantDeleting my library and packages folder helped a lot but the first error is still there.
December 31, 2023 at 1:12 pm #12824Terence
KeymasterI found a potential solution here: https://developercommunity.visualstudio.com/t/error-detecting-visual-studio-installations-in-uni/578991
One of the people there posted this:
Actually there is a Work Around
open Edit => Preferences => External Tools
External Script Editor => Choose Browse
if u are using Visual Studio 2019 (Like Me)
just Choose this File : C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Check on ‘Generate all .csproj files’
Can you give it a try?
January 1, 2024 at 2:42 am #12856Logan Nunez
ParticipantSorry if I’m doing something wrong but I don’t see devenv.exe. I’m new so I’m not familiar with how these files work. Can you tell me what I’m doing wrong?
January 1, 2024 at 1:47 pm #12857Terence
KeymasterHi Logan, no worries.
You can try searching for devenv.exe on your search toolbar (top right corner) on the File Explorer as well.
If you can’t find it, then you might want to consider uninstalling and reinstalling both Visual Studio and the Unity Editor, as the install files may be corrupt.
January 2, 2024 at 1:17 pm #12861Logan Nunez
ParticipantI tried both methods, however the error is still there. Is there anything else I need to do?
January 2, 2024 at 8:08 pm #12867Terence
KeymasterHey Logan, can you look at your Package Manager and make sure that the other Visual Studio packages are updated or downgraded to the appropriate version?
January 5, 2024 at 11:57 am #13013Logan Nunez
ParticipantI updated everything and it’s still there. Should I just upgrade to the current version of unity and try to do the tutorial with it?
January 5, 2024 at 1:33 pm #13014Terence
KeymasterLogan, there is a chance that your Visual Studio Editor package version is over the version that your Unity Editor supports. I had a project that, when I downgraded it to a lower Unity version, gave me errors because one of my packages’ version was too high.
You can expand the Visual Studio Editor dropdown and see if there are older version that you can download. If that doesn’t work, you can try removing and reinstalling the package.
If all this doesn’t work, then you’ll have to upgrade your project.
January 8, 2024 at 8:21 am #13051Logan Nunez
ParticipantThank you, Terence for helping me. I tried everything and it’s still there so I will upgrade to my current version. I have one last question; will I be able to still follow most of the steps for the Metroid Vania game and be able to make it like the video or will I have to figure out most of the code separately?
The version I am using is 2021.3.13f1.
January 8, 2024 at 4:39 pm #13059Terence
KeymasterHey Logan, no problem
Yes, you will still be able to follow the steps for the tutorial. It will mostly be the same, so you shouldn’t run into many problems. You can post any issues you run into with the newer version in the forums and I’ll be here to help.
-
AuthorPosts
- You must be logged in to reply to this topic.
Advertisement below: