Unreal opening new instance of Visual Studio every time a class is added
I already have my project open in Visual Studio, but Unreal still opens up a new instance each time I add a new class. This did not happen before 4.18.2. Is there a way to prevent this?
asked Dec 15 '17 at 08:27 PM in C++ Programming
I see that this is actually a known issue and that a fix is upcoming. Would like to expand a little on my issue in case others have experienced the same but will wait for the update. In addition to opening extra instances of Visual Studio, this bug also loads the new c++ file in QT Creator.
Others have mentioned that, after opening a new VS window, the "Loading Visual Studio..."message in the UE IDE remains. After a few minutes - this opens yet another instance of VS for me as well as an instance of QT. Very strange bug and hoping the fix solves it.
answered Dec 16 '17 at 04:18 AM
I've had this and what worked for me is to make a slight engine modification if you are running from source.
It seems to only be a problem if your projects are not in the same directory as your engine, as it's only checking the relative path of the project or something. In VisualStudioSourceCodeAccessor.cpp, line 223 change it from:
That seemed to do the trick for us.
answered Jan 09 '18 at 10:39 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here