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 11 months, 1 week ago by Terence.
-
AuthorPosts
-
December 31, 2023 at 9:38 am #12817::
This 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?
View post on imgur.com
December 31, 2023 at 11:29 am #12818::Hi 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.
View post on imgur.com
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 #12819December 31, 2023 at 11:58 am #12820::Did 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 #12823::Deleting my library and packages folder helped a lot but the first error is still there.
View post on imgur.com
December 31, 2023 at 1:12 pm #12824::I 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 #12856::Sorry 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?
View post on imgur.com
January 1, 2024 at 1:47 pm #12857::Hi 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 #12861::I tried both methods, however the error is still there. Is there anything else I need to do?
View post on imgur.com
January 2, 2024 at 8:08 pm #12867::Hey 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 #13013::I 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?
View post on imgur.com
January 5, 2024 at 1:33 pm #13014::Logan, 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 #13051::Thank 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 #13059 -
AuthorPosts
- You must be logged in to reply to this topic.
Advertisement below: