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"

Simply commenting code makes the whole application fail from a non affected class.

Hi everyone, I need some help with a strange error I'm getting in UE4 when compiling my C++ project the issue is that if I change any functionality of the game, for example I have:


and then I comment it like:


the project stops compiling correctly and start to fail indicating that my Enums.h class which is simply a header that has all of my Enums is failing and everything starts to fail even though the class does contain an Include for the Enums.h and that nothing else except the comment of the code has been changed, it's like the game won't allow me to change the code of my game from the original that I have in git

Unreal Failed log.txt

Product Version: UE 4.21
log.txt (57.0 kB)
more ▼

asked Mar 22 '19 at 05:40 PM in C++ Programming

avatar image

23 13 17 21

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

1 answer: sort voted first

It appears you have a syntax error. Make sure you are not missing any curly braces { }.

more ▼

answered Mar 22 '19 at 07:42 PM

avatar image

441 4 5 6

avatar image WolfAlvein Mar 22 '19 at 08:20 PM

Hi, yeah thats what it says, but everything is correct, but for some reason the enums.h says something is missing but it's not. I tried doing one file at the time and compiling but it started failing when I got into HSSComponent.h.

(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