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"

Compile Button does not compile new code.


when trying to compile a new C++ class the engine just says "Compile Complete!". It takes less than an second, and if i make a mistake in the code in porpouse, it still says is great.

If i regenerate visual studio project files, it works, but just one time.

Been using this project for a while and now i have the problem.

Product Version: UE 4.19
more ▼

asked Sep 27 '18 at 08:03 AM in C++ Programming

avatar image

5 1 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Wungoche,

I believe your issue may have to do with hot reloading. The "Compile" button in the editor does not use the same build folder as Visual Studio, so you may want to make sure you are consistently building from Visual Studio by right clicking on your project in the editor and clicking build.

Here is an Example:

alt text

You may also find it useful to do a little bit of overhead in setting up your visual studio before you begin working on your project. Epic does provide some tips through their documentation, so hopefully you will not continue to experience these "odd sync" behaviors

Setting up Visual Studio for UE4

Please let me know if this helps, or if you continue to experience this type of behavior.

more ▼

answered Sep 27 '18 at 04:01 PM

avatar image

NicholasMont ♦♦ STAFF
592 3 4 6

avatar image Wungoche Sep 28 '18 at 01:10 PM

I rebuilded everything and get sure of all VS setup configurations were correct. Now it seems to be working! If everything remains the same i''l post again.

Thank you for your answer!

avatar image DesertEagle_PWN Sep 28 '18 at 02:02 PM

Protip: If you rebuild and still experience weirdness (you shouldn't have this often) -- especially when working within a SCM (i.e. Perforce, git, etc.) directory it can sometimes be worth your while to delete the project VS solution, Binaries, Saved and Intermediate directories, regenerate the project solution and rebuild the project. This ensures that you have no out of date files which can rarely produce wonky results, especially if your SCM is misconfigured and is trying to prevent changes to these temporary files.

avatar image Wungoche Sep 28 '18 at 06:33 PM

Yes, im within a scm, you nailed . Thanks!

(comments are locked)
10|2000 characters needed characters left
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