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 variables nodes buggy when copy+pasting


When pasting Set Local Variable nodes, and using right click + create variable on them, they need to be deleted and dropped in again or else there is a compile error.

It would also be really nice if pasted local variable nodes did not all have to be replaced one by one after you create them from the pasted variables name - if all greyed out variables with a certain name became valid once a variable with that name is created.

Product Version: UE 4.9
more ▼

asked Sep 26 '15 at 12:13 AM in Bug Reports

avatar image

111 12 15 19

avatar image Adam Davis STAFF Sep 29 '15 at 01:40 PM

Hi Timmeh_ZA,

Does this occur in a clean, blank project with no additional content or is it limited to one project in particular? Was the local variable within a function of a blueprint? What type of blueprint if so? Was it in a function library? How many were you attempting to copy/paste at the same time?

avatar image Timmeh_ZA Sep 29 '15 at 08:45 PM

I have been able to reproduce this in a blank empty project.

Here are the steps:

  1. create blank project

  2. create 2 Actor blueprints (Ill refer to them as Actor1 and Actor2)

  3. Edit Actor1 :

3a. add function

3b. add local variable to function (a bool will do)

3c. place SetLocalVariable node in function.

3d. copy placed SetLocalVariable node.

  1. Edit Actor2

4a. add function

4b. paste set variable node (copied from Actor1)

4c. connect pasted node to execution path

4e. right click pasted node, and select create local variable (from name)

4f. attempt to compile blueprint

When I do this I see this result:

alt text

The Blueprint will not compile, until the node has been disconnected/deleted/replaced.

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

1 answer: sort voted first

Hi Timmeh_ZA,

I was able to reproduce this on my end and have entered a bug report, UE-21628, to be assessed by the development staff. As a workaround, create the local variable of the same name in the second blueprint before copying/pasting, instead of promoting the set node input pin to a local variable.

more ▼

answered Sep 30 '15 at 02:16 PM

(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