I’m not sure in which category I should post this issue. I’m using VS 2015 with update 1 and after upgrading from 4.10.1 to 4.10.2, problem has appeared:
When I’m trying to add new C++ class form editor or compile my C++ source from editor, VS crashes(?) with message (see attached image).
I couldn’t figure out certain condition why it happens, but it happens very often (almost always).
And it never happens when I compile from VS itself.
I tried to google it, but unfortunately couldn’t find any solution
“After further investigation, we believe we were incorrect about our warning that VS2015-Update1 does not work with 4.10.2, and that we were being overly cautious. At this time, we expect that the VS update should not have any conflicts with 4.10.2”.
What code are you changing when you see this message? Are you able to add code to a project that is purely blueprints? Does the compile succeed after restarting VS as the error suggests?
Its hard to say what exactly I have done. Two times it happened when I just added new C++ class, based on AActor. After VS restart it have compiled just fine. Other times it was standard coding routine - adding/removing properties in my classes, adding methods, etc =)
My project was created in 4.10.1 if it does matter. I have tried to reproduce it in newly created 4.10.2 project, but it not happened. All fine with new project.
How to say. It’t not like I’m stuck with it, It was happening from time to time (when I have worked alot with C++ part of my project) and I posted it here because maybe this is some kind of known issue. If you have no Idea what it is, then it maybe unrelated to UE4 and just my system problem.
But If you have any idea what it could be, or what I should check (maybe some logs somewhere?) - I would be glad to hear.
I tried creating a project in 4.10.1 then upgrade to 4.10.2 with VS2015 and Update 1. After doing so I was able to add a new class based on actor to the project which compiled and opened in Visual Studio with no issues. If you’re not seeing the same behavior in a new project either, it is possible that it is isolated to the current project. What else can you tell me about the project where this is happening?
Are you getting the same error when trying to add code to another project? Are you seeing this error when compiling code in Visual Studio or when using the compile button inside the editor? Were you able to see if installing the Windows updates helped? You may want to try uninstalling/reinstalling Visual Studio as well.