Refreshing project files
I have started to learn UE4 with C++. The thing is, I keep having repetitive, continuous crashes and impairing bugs whenever I make a file change to the project I'm using. This includes most notably renaming C++ folders.
I tried to rename a C++ folder, but when I do it from within Visual studio 2015 -since for some obscure reasons you can't do it from within UE4-, the content browser doesn't get updated correctly and still display the old name, whether I try to update the Visual studio project (right-click on UProject->"generate visual studio project files") or not. This gives me also the same result when updating from the Windows explorer.
I also updated the #include files to avoid compile errors. However, I then keep crashing while loading the project, which in turns forces me to remove the files #including the folder to make it open again.
oming from the Unity editor, I was expecting to be updating things more manually, which can be a good thing when projects get much bigger and reload times longer. But how do I update properly a UE4 project?
Also, how do you rename a C++ folder? This is some very basic action, and I can't find anywhere on how to do it :'(.
Finally, when the project crashes on load like it did on mine, what is the process for cleaning it up to give it a fresh start? On Unity there's a Temp folder (among others) to delete if editor's file automation get awry. What is the equivalent of UE4?
Thanks for answering the biggest obstacle I am facing with this engine ;).
Whenever you do something like changing the name of a folder or deleting a c++ class, generate project files, then open the visual studio solution, then build the project through Visual Studio (F5). See if that works.
answered May 07 '18 at 04:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here