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"

Blueprint claims compile error at startup, won't play

When I close the editor and start it back up, I can't play my scene because the editor claims that one specific blueprint has a compile error. I open the blueprint and the red icon is over the compile button signifying an error, but there is nothing in the compiler results window about what the error might be. If I hit compile, it has no more issues. It will play from then on, but only for that session. If I close the editor again, it will claim a compile error again. This only happens on this specific blueprint.

This is for the iTween library I'm porting: https://forums.unrealengine.com/showthread.php?33992-Open-Beta-Procedural-On-the-Fly-Animation-in-UE4-iTween!&highlight=itween

I have a smattering of other BPs that do similar operations (in fact, it's mostly copy-paste for the framework, then I build from there). This specific operation moves a component of a BP over time. It's not much different from the operation that moves an actor over time, it just does it for a specific component.

I'm using SceneComponent as the object that I move with the operation because it seems to be the base class of all components.

Each of these operations derives from a class called iTweenEvent because they all use a common group of (locally set) variables. The error here seems to stem from that fact, as the error on every variable node says that because this is not an iTweenEvent_C, "self" doesn't work. This is untrue because all of these operations derive from iTweenEvent, so they should be iTweenEvent_C objects. No other similar BPs have this issue, only this one.

alt text

As this is a library for others to use, I can't ask my users to go through and manually compile BPs one-by-one every time they start the engine.

I've tried copy-pasting the nodes from other successful BPs, I've tried remaking the entire thing by hand using no copy-pasting, I've tried renaming them, I really don't know what else to do here.

The only thing I can think of that's different is using a SceneComponent instead of an Actor for my tweening operations. Again, this works after I compile once, but only for that session. I really don't know where else to go from here!

Here's a copy of the library: http://www.mediafire.com/download/ix229bx9wa67xbc/iTween+compile+error+build.zip

Repro steps: 1. Unzip archive into base "Content" folder for your game 2. Open engine 3. Save 4. Close Engine 5. Open engine again 6. Try to play scene

This is where you'll see a message about a compile error for iTComponentMoveFromTo. Open it up and compile it and it works, but close the engine and try again and you'll end up with the same results.

Thank you so much for looking into this.

Product Version: Not Selected
more ▼

asked Nov 22 '14 at 08:21 PM in Everything Else

avatar image

Jared Therriault
399 26 22 52

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

1 answer: sort voted first

Looks like one of your nodes needs a reference to self - you can drag off the pin and set 'get reference to self' and see if that fixes it. Hard to say without more context, but I'd look at that.

more ▼

answered Nov 22 '14 at 09:30 PM

avatar image

1.2k 57 67 99

avatar image Jared Therriault Nov 22 '14 at 09:47 PM

Thanks for commenting! Unfortunately this isn't the issue - the issue is that the engine seems to think that this BP is not derived from iTweenEvent. This is underscored by the fact that adding a self pin like you suggested creates new errors on said self pin, citing a type mismatch - that would mean that the engine thinks this BP is not derived from iTweenEvent.

(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