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"

4.7 Editor is confused about compile errors

When I play my project it pops up an error message saying that there was a compile error in one of my Blueprints, and there is a "BLUEPRINT COMPILE ERROR" red message at the top of the screen inside the game.

However, when I compile the BP in question, it compiles with no warnings or errors. The compile button never gives a green check and just keeps the orange question mark. I don't know if there is really an error or not, but I can't fix the issue if I don't know what it even is.

The BP in question is a subclass of Actor and has two subclasses itself, one for the player and one for AIs trying to catch the player. I've recompiled every BP in my entire project and none of them show any errors.

alt text

alt text

Product Version: Not Selected
compile_error.jpg (25.4 kB)
compile_noerror.jpg (247.4 kB)
more ▼

asked Jan 08 '15 at 04:06 PM in Bug Reports

avatar image

696 26 86 62

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

2 answers: sort voted first

Hi Furroy,

I was able to reproduce this and have entered a bug report, UE-7303 to be assessed by the development staff.

more ▼

answered Jan 08 '15 at 06:56 PM

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

Hi Furroy,

Did you migrate this project from a previous engine version? If so this is expected behavior. Many changes typically occur to source code between engine versions and the blueprints affected need to be compiled to make sure they are up to date with the latest code changes. Unless something has changed dramatically (in which the error probably won't go away), once you compile your blueprint it should be ready to go for the future.

more ▼

answered Jan 08 '15 at 04:59 PM

avatar image Furroy Jan 08 '15 at 05:11 PM

I migrated it a week ago. This problem just started today. I've rebuild everything possible I can think of and the issue won't go away.

avatar image Adam Davis STAFF Jan 08 '15 at 05:15 PM

Try creating new get references to your variables. There was an issue in 4.6.1 in which migrated references were causing odd compilation errors. Replace gets with new copies of the same variable and it may solve the compilation error.

avatar image Furroy Jan 08 '15 at 06:13 PM

Ok, I finally tracked down how to reproduce the issue. In my parent class I'm trying to cast self to one of the subclasses to see which type it is. It says it compiles fine in the BP, but causes the error elsewhere.

This is inside a function in the parent class BP_BaseDeck and BP_NewDeck is one of it's subclasses.

alt text

(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