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"

Local variable in collapsed graph not updated if function renamed (compile error)

If you have a local variable being used inside a collapsed graph inside a function, and you rename the function, it fails to compile until you place a new get/set of the variable in the collapsed graph.


To reproduce in blank 4.16:

  1. Make a new actor, and inside it a function called :Function1:

  2. Add a local variable, Set it to anything, then place a Get node and hook it up as a ReturnValue.

  3. Collapse the Get node into a collapsed graph node. Note that it compiles fine.

  4. Rename the function e.g. "Function2", try to compile. It will say that it's unable to find the Get variable.

  5. Place a new version of the Get variable and use that instead, note it will compile OK now.

Product Version: UE 4.16
more ▼

asked May 26 '17 at 04:06 AM in Bug Reports

avatar image

498 14 27 41

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

1 answer: sort voted first

Hi Spoondog,

Thank you for the report. I was able to reproduce this in 4.16 but this is now working correctly in our latest internal build. You will see this fixed in a future engine version.

To fix this without adding a new version of the variable, you can go into the collapsed graph > Right-click on the local variable > Choose Replace Variable.

alt text


collapse1.png (33.0 kB)
more ▼

answered May 31 '17 at 06:51 PM

avatar image

41k 1009 183 494

(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