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"

Copy Paste local variable in collapsed graph within function

I have a function MyFunction in my Character BP. Within MyFunction, I have local float NewBlend defined. Also within MyFunction is a Collapsed Graph called MyCollapsedGraph.

Double click on MyCollapsedGraph to edit. Under the Local Variables section in the My Blueprint tab all the local variables from MyFunction appear to be in the scope of MyCollapsedGraph - a scope that probably shouldn't exist.

Drag out NewBlend as a Get node. Wire it to a Print node. The graph compiles without warnings..

Duplicate or cut / paste the NewBlend node and wire the newly pasted version to the Print node. Compile and see the warning: 'Scope expected: MyFunction; Scope found: MyCollapsedGraph' This happens on Set nodes as well.

David

Product Version: UE 4.9 Preview
Tags:
more ▼

asked Aug 23 '15 at 06:24 AM in Bug Reports

avatar image

DavidRR
54 7 15 17

avatar image jtsmith Aug 23 '15 at 08:04 AM

Seems like this could be a bug. Does it do it if you re-expand your collapsed nodes (or collapsed graph as you called it), copy/paste/duplicate then collapse the nodes again?

avatar image DavidRR Aug 23 '15 at 08:41 AM

No - the problem seems to be Pasting into the collapsed node. If I copy from the expanded version, collapse them, open the collapsed graph, paste - the warning occurs again. If all the cut/copy/paste occurs in the parent and then the nodes collapsed - everything is fine.

'Collapse Nodes' is the menu item describing something that can be performed on selected nodes. The resulting node, as it sits in the parent, has 'Collapsed Graph' displayed below the node name so that seemed like the thing to call it.

David

avatar image jtsmith Aug 23 '15 at 08:50 AM

Interesting, I never noticed the verbiage on that, I assumed it was called collapsed node throughout. Sorry I can't be of any help.

avatar image DavidRR Aug 23 '15 at 09:07 AM

No apologies needed - paste problem is easy enough to avoid but it would be nice see it work correctly.

avatar image Adam Davis STAFF Aug 24 '15 at 08:50 PM

Hi DavidBN,

Does this occur in a clean, blank project with no additional content or is this limited to one project? Do any other variables produce the same result?

avatar image DavidRR Aug 24 '15 at 11:31 PM

Yes, on a blank project and seemingly all variable types. See screenshot.

paste.png (373.8 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi DavidBN,

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

more ▼

answered Aug 25 '15 at 01:44 PM

avatar image SalihBalkan Mar 30 '16 at 02:07 PM

Still same in 4.10.4. I must copy a very big function to another bp but I am not able to do this because of this bug. I think this is a critical bug. Is there a timeline for this?

avatar image Adam Davis STAFF Mar 30 '16 at 06:28 PM

Hi SalihBalkan,

I am happy to report that this has been fixed internally and is slated for a future release. Please keep an eye on the Announcements and Releases section for release notes.

(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