• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by rorylit · Dec 29, 2021 at 11:00 PM · editorvisual studiowindows

"The code execution cannot proceed because msvcr120.dll was not found"

Today I updated my Unity Hub and editor only to find that I could not longer create or open projects. I have been working on fixing this all day. The hub either silently fails (in 3.x version) or silently crashes (in 2.x version). The logs don't seem to say anything useful. The only error message I get is when I try and launch the editor directly, which yields the message in the title.

I have tried:

  • Logging in and out

  • Changing my Unity license from student to individual

  • Reinstalling Unity

  • Absolutely purging anything called "unity" in Program Files, ProgramData, and AppData from my system before reinstalling

  • Uninstalling and reinstalling the VC++ Redistributable

  • Uninstalling and reinstalling Visual Studio

  • Installing and using a different version of the editor

  • Installing a different version of Visual Studio and VC++ Redistributable

I am about to delete Windows and reinstall my operating system just to fix this. Can anyone out there give me any advice.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image endasil_unity · Dec 29, 2021 at 11:12 PM 0
Share

Well let's try to narrow down the troubleshooting path a bit and hopefully we can find a better solution then reinstalling windows.

First check, Does MSVCR120.dll exist under C:\windows\system32 directory?

If not do you have that file anywhere else on your hard drive?

avatar image rorylit · Dec 29, 2021 at 11:43 PM 0
Share

Yes, it is in that directory. I also need to say that, of course, as all issues go, the moment I cave and make a forum post about it, it resolves itself. I don't really know what I did, but everything is working now. For posterity (in case others are having this issue), the last two things that I did before making this post were to 1) Switch to the 2.x version of the hub and 2) Install an older version of the editor from there. This seems to have fixed the newest version of the editor for me, so go figure why, or how, or what the issue even was.

avatar image endasil_unity rorylit · Dec 29, 2021 at 11:57 PM 0
Share

Happy you managed to solve it, even if it's sad that were will never know the exact reason. For future reference when you get a message like this it common that the dll file is missing under system32 for some reason. It can also exist there but not have been registered for some reason (can be fixed by starting a command prompt with ad$$anonymous$$istrator privileges, going to the directory and typing regsvr32 nameofdll.dll)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

180 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Visual Studio Not Opening Right Script 1 Answer

PostprocessBuildPlayer script not functioning.. Will there be a fix? 2 Answers

Overall quality became worse after changing to Windows from Mac 1 Answer

[Solved] Unity Opens Visual Studio 2010--Not 2012 1 Answer

Windows 10 sound alert when going back to the Editor from Visual Studio 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges