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"

Version 4.22 and Visual Studio 2019

I recently uninstalled my Visual Studio 2017 cause with the release of 2019 and Unreal Engine 4.22 supporting it i wanted to swap to the new version. However it seems like its not possible to create new c++ projects with 4.22 if your only installed Visual Studio is 2019. It fails with:

**An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Eric/Documents/Unreal Projects/MyProject/MyProject.uproject" -game -rocket -progress Discovering modules, targets and source code for project... WARNING: Visual Studio C++ 2017 installation not found - ignoring preferred project file format. ERROR: Visual Studio 2017 must be installed in order to build this target.


Is there a way to tell Unreal to use the 2019 Visual Studio for project file generation or is this simply a bug/not supported yet and i actually have to install 2017 again until this is fixed?

Product Version: UE 4.22
Tags:
more ▼

asked Apr 21 '19 at 04:23 PM in Installation & Setup

avatar image

Nymez
36 1 1 4

avatar image tero83 Apr 23 '19 at 02:46 PM

is visual studio 2017 working still with unreal 4.22 or do i need install studio 2019?

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

4 answers: sort voted first

This worked creating a blueprint only project and changing the default settings to VS2019 solved the issue.

more ▼

answered Apr 22 '19 at 11:59 AM

avatar image

Nymez
36 1 1 4

avatar image Max Wolf May 14 '19 at 01:10 AM

It worked for me, thanks.

avatar image insanemeap Jul 24 '19 at 04:50 PM

I'm trying to do this, but while it says the default settings are writable, the "Set as Default" button is grayed out. Would you know the problem here? Thanks.

alt text

screenshot-19.png (76.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Did you change unreal source code editor? If not its in Edit > Editor Preferences > General : Source Code. You need existing project as far as i know.

more ▼

answered Apr 21 '19 at 06:15 PM

avatar image

PanWilson
66 2 3

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

I had same issue before.

Solved after install "Game development using C++" in "Mobile and Game" category from "Visual Studio Installer". I'm using Korean version VS, so not sure above is exact English title.

more ▼

answered Jun 09 '19 at 11:16 PM

avatar image

Dennis Park
6

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

I still cannot create C++ project with UE 4.22 with VS 2k19. I have changed source code to VS2019.

more ▼

answered May 20 '19 at 01:35 PM

avatar image

Ahmopasa
1

(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