x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 can't find Visual Studio 2013 Professional

When I try to GenerateProjectFiles it says it can't find a valid installation of Visual Studio and asks to check if it is installed (which it is), a registry value is set HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\InstallDir (I checked this and this is correct and set to to the \common7\IDE sub-folder) I also checked my environment variables and this is also set correctly under VS120COMNTOOLS C:\Program Files(x86)\Microsoft Visual Studio 12.0\Common7\Tools\ So I am pretty much clueless on this issue because everything is correct and UE4 still can't find my VS installation. I was wondering if anyone else had the same problem and had a fix for it that would be greatly appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Jun 14 '14 at 03:33 PM in Installation & Setup

avatar image

JIGGITPrime
16 1 2 7

avatar image frankmli Jun 18 '14 at 06:50 AM

Have very same problem here as well but with free VS 2013 express Window Desktop version.

Trying to repair VS installation now. I will keep updated later.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Finally it was fixed. In my case, the problem is the path, "C:\Windows\System32\", which need to go into Path in environment variables, otherwise reg.exe was never been called correctly.alt text

systempath.jpg (181.2 kB)
more ▼

answered Jul 04 '14 at 10:03 AM

avatar image

frankmli
271 6 10 17

avatar image JIGGITPrime Jul 04 '14 at 01:19 PM

Thanks very much your a lifesaver. I will now be able to use Unreal Engine 4 for my next game project thanks again

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi JIGGITPrime,

I saw that you have checked your registry and environment variables, and the values you mention for those appear to be correct. Have you also attempted to repair your installation of Visual Studio?

Another possibility, though a little more time consuming, would be to actually uninstall Visual Studio, restart your computer, then re-install Visual Studio and restart your computer.

This may seem like a silly question, but it helps to be sure. Is the location pointed to by your VS120COMNTOOLS environment variable actually your installation location for Visual Studio? That looks like the default installation location, but if you installed it in a different location this value will not work for you.

more ▼

answered Jun 17 '14 at 06:43 PM

avatar image frankmli Jun 18 '14 at 07:18 AM

Repair VS not working. Start second way which Tim suggested.

avatar image frankmli Jun 18 '14 at 08:03 AM

After VS 2013 Express for Windows Desktop, there isn't HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\InstallDir.

alt text

Even manually added InstallDir registry value, it is still not working.

vsscreenshot.jpg (233.0 kB)
avatar image Tim C ♦♦ STAFF Jun 18 '14 at 03:41 PM

Did you do a search for InstallDir? I found the key for my installation of Visual Studio, but it was in a different location: Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config

Visual Studio InstallDir Key

vskey.png (71.6 kB)
avatar image frankmli Jun 20 '14 at 06:35 AM

This is the registry where I can see InstallDir. So do I need to manually add registry for generating UE4 solution? alt text

screenshot.jpg (205.5 kB)
avatar image Tim C ♦♦ STAFF Jun 20 '14 at 04:12 PM

Hi frankmli,

As long as the InstallDir key is present and pointing to the correct location, it should be fine where it is.

Do you possibly have more than one version of Visual Studio installed? This has caused some similar issues for a few people.

avatar image frankmli Jun 23 '14 at 07:28 AM

Yes, I have VS 2010 and 2012 as well. Should I uninstall both?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question