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"

Can't package because project doesn't recognize Visual Studio; other projects do

EDIT: It turns out that this was because I disabled the plugin "Visual Studio Integration." Protip: that's generally a bad idea when you need Visual Studio.

Since updating to 4.19, I have been unable to package my project because it does not recognize that I have Visual Studio installed, both 2015 and 2017 with proper C++ components. I do not use C++, but I have a plugin that requires it. The weird part (at least from my perspective) is that this happens on multiple computers when I copy the project over, but it does not apply to other projects made on the same computer(s).

I get the feeling that some setting is messed up somewhere and it doesn't even know that it's looking for Visual Studio, because when I open the file menu, I see this as part of the menu:

Excerpt from the file menu showing a greyed out option saying

A healthy project file shows this:

Excerpt from the file menu showing a greyed out option saying

If you contrast the second-to-last option, you will see that the unhealthy menu shows the word "None" where the healthy one shows "Visual Studio."

When I go to actually package the project (for Windows 64-bit,) I get the "Installing Visual Studio" message that typically displays when other people have this type of issue computer-wide:

The typical

I don't really know what to make of this. I did some checking through various config files, comparing them with a healthy project, but found nothing conclusive (though I am not experienced.) I'm looking for ideas at this point, and am willing to share any files that are necessary (within reason, of course.) While this isn't impacting my development process, it does prevent me from releasing updates.

Product Version: UE 4.19
Tags:
badmenu.png (8.5 kB)
goodmenu.png (8.4 kB)
baderror.png (33.6 kB)
more ▼

asked Apr 20 '18 at 05:54 PM in Packaging & Deployment

avatar image

Jjman739
76 7 6 14

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

1 answer: sort voted first

Try to go into directory of your project and right click yourprjectname.uproject and click generate visual studio files also take a look if you have yourprjectname.sln in your project's directory.

more ▼

answered May 03 '18 at 06:59 PM

avatar image

Przemek2222
426 4 10 14

avatar image Jjman739 May 03 '18 at 10:25 PM

When I clicked "Generate Visual Studio project files," it brought up an error box saying "This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files." As I said earlier, I do not use C++, but a certain plugin (that I have already tried disabling) requires it. Also, there is no .sln file in the entire directory. Thanks for the ideas.

avatar image Przemek2222 May 04 '18 at 06:44 AM

I have added new class in editor and .sln was genereted automatically. This should solve your problem. You can delete this class later. Let me know if it's what you searched for.

avatar image Jjman739 May 04 '18 at 09:05 PM

I tried creating a C++ class, but I just got this: On the C++ class creation screen, an error message says

I tried installing Visual Studio from this link, but it said I already had it, and just updated the existing install. I tried restarting both the engine and the computer, but there was no change, and the error message remained.

avatar image Przemek2222 May 05 '18 at 09:21 AM

What is the plugin that you installed(this one that you mentioned above)? Can you try to change compiler? alt text

ue4.png (57.6 kB)
avatar image Jjman739 May 05 '18 at 02:00 PM

The plugin is Rama's Victory Plugin. I selected the compiler version option, and it recognized Visual Stuido (both 2015 and 2017) as options. A computer that has neither installed still recognizes these options. Selecting these options did not change any of the issues, even after restarting the engine (for 2017; I did not restart for 2015.)

avatar image SupDeity May 05 '18 at 02:15 PM

try disabling the plugin and then changing the option, restart and try.

avatar image Jjman739 May 05 '18 at 03:15 PM

Still nothing.

avatar image Przemek2222 May 06 '18 at 01:02 PM

Did you made changes to any config files?

avatar image Jjman739 May 07 '18 at 08:57 PM

I have adjusted config from withing the editor, though I can't say specifically what given that I've been working on this project for years, but I can't recall directly editing the files, and if I did, I knew what I was doing, because it wouldn't be a good idea to do so otherwise. These edits have happpened before the issue started when I updated to 4.19.

avatar image Jjman739 May 11 '18 at 06:37 PM

Here's a copy of my config if you need it for reference. (Click the space to the left of the opening parenthesis. Or if not, just click here.)

config.zip (7.9 kB)
avatar image Przemek2222 May 11 '18 at 08:39 PM

I have created new project and used this config and everything seems to work fine. Last thing I can advise is to check if you have everything set correctly https://docs.unrealengine.com/en-us/Programming/Development/VisualStudioSetup#visualstudio2017users%29,

avatar image Jjman739 May 13 '18 at 01:20 AM

Thanks. You gave me the idea to copy files into a healthy project to see what goes wrong. It was by this tactic that I was able to isolate the problem to the .uproject file, from which I further isolated it to the fact that the plugin "Visual Studio Integration" was disabled. I hadn't even realized that I had done that; it must have been when I was cleaning up my plugin list upon updating to 4.19. Unfortunately, that event slipped my mind when typing up the question, so I apologize for the inconvenience. Re-enabling the plugin has cured all of the symptoms. I will try to remember not to disable it again. Thanks again for your help; I'm going to mark your answer as correct because you gave me the idea to copy files over.

(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