x

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"

Is there a way to refresh the variable referencing in blueprint?

I encountered a problem when trying to copy blueprint nodes from one blueprint to another:

For example I copied the below selected nodes from blueprint A: alt text

And then pasted them to blueprint B, then used right click to "Create variable" for those non-existed variables (Variable_A and Variable_B) in blueprint B: alt text

So after that, Variable_A and Variable_B were created in the blueprint B, and compilation was fine too.

But the problem is if you try to right click to find the reference of the newly created Variable_A, it will only show only one node which was the one got right clicked for its creation...even there are other Variable_As in the blue print, they will not show up in the Find Result: alt text

If you try to right click to find the reference of the other Variable_A in the nodes (not the one used to create variable), it will exclude the one used to create variable.

I think internally UE4 treat the "Pasted Nodes" and the "Created Nodes" differently, even they share the same name, which will likely cause confusion. The workaround is to type the variable name in the "Find Results" window and search, then it will find all the variables sharing the name. This is not ideal since the searching behavior will be inconsistent.

Is there a way to link all these "Same name but somewhat different" variables together so the "Find References" function can work correctly? Thanks!

Product Version: UE 4.11 Preview
Tags:
screenshot_1.jpg (109.0 kB)
screenshot_2.jpg (73.8 kB)
screenshot_3.jpg (39.7 kB)
more ▼

asked Feb 21 '16 at 01:35 AM in Blueprint Scripting

avatar image

Milo_XU
1 1 2 3

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

1 answer: sort voted first

Its a bug, always happens to me when I copy stuff like that, just delete and drag the variable again and the reference should work fine (when copying better just to promote to variable than create if not mistaken that goes around the problem and works good and dandy).

more ▼

answered Feb 21 '16 at 03:26 AM

avatar image

DDemon
453 21 9 25

avatar image Milo_XU Feb 22 '16 at 12:22 PM

Thank you! I guess I have to fix this manually then...kind of annoying.

(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