Hello,
I have noticed that duplicating Blueprints via the ‘duplicate’ command will cause the new Blueprint to contain references to the old one. Also, copying code from one Blueprint and pasting it into another gives the same result. This really makes the duplicate command and copy & paste almost useless when trying to make two independent Blueprints, so I am guessing that this is not intended behavior. I have found a work-around for the duplicate issue by migrating the asset to a new project, renaming it, and migrating it back, but that does not help the copy and paste issue. Perhaps I am wrong and this is intended behavior, so any thoughts would be appreciated!
Steps to reproduce ‘Duplicate’ issue:
-
Create new Blueprint
-
Duplicate Blueprint
-
Open reference viewer and see reference to first Blueprint
Steps to reproduce ‘Copy and Paste’ issue:
-
Create new Blueprint and add nodes
-
Create another new Blueprint
-
Copy and paste code from the first Blueprint to the second
-
View references for second Blueprint and see the reference to the first Blueprint
Thanks ahead of time!
Hi
I have not been able to reproduce these errors on my end. Can you show me a screenshot of what you are seeing with each error, perhaps I can get a clearer idea of what may be occurring.
- Do these errors occur in a clean, blank project with no additional content or is it limited to one project?
- Have you tried using “fix up redirectors” to see if that fixes the errors you are seeing?
I found this out the hard way as well in a large project… at some point it gets very hard to get blueprints compiling since there are dependencies everywhere that should not be there… same issues with migrating projects.
,
Thanks for the response. Using a blank project fixes the copy and paste issue, oddly enough, but the duplicate error still persists. I have tried the “fix up redirectors” command, but it has not corrected the issue. I have attached some screenshots that show the duplicated actor’s reference tree. Notice that it references NewBlueprint1’s Blueprint graph.
Are you duplicating or creating a child of the original blueprint? I’ve been attempting to use duplicate, which has yet to produce these results. However if you are creating a child blueprint of the original this is exactly what I would expect to happen.
I am using the duplicate command… Would it make a difference that I am running UE4 on a Mac? Maybe the clipboard works differently.
I just tried the duplicate command again on some of my own project files, and it is now working perfectly. I wonder if it was just a random glitch on my end. Strange, nonetheless. Thanks for everyone’s help and input!
Hi
I’m happy to hear this is now working correctly for you. I will mark this as answered for tracking purposes, if you experience this error again, please comment with updated information and I’ll be happy to take another look.