# Can't save blueprints using custom macros from a macro library

**URL:** <https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [June 2, 2024, 11:26pm UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223 "2024-06-02T23:26:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [June 2, 2024, 11:26pm UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223/1 "2024-06-02T23:26:05Z")

</div>

I have some macros stored in a Widget Macro Library. I don’t think I ever had problems with them in the past. Now whenever I try and save a blueprint with a macro that comes from one of these libraries, the editor gives me an error that says “Graph is linked to private object(s) in an external package.” I’ve had to add the referenced macros into each individual blueprint to save them. Why is this happening?

---

<div class="post-metadata">

**Author:** ![SolarflareSoft](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solarflaresoft/32/1192396_2.png) [@SolarflareSoft](https://forums.unrealengine.com/u/SolarflareSoft)\
**Post date:** [September 23, 2026, 2:23pm UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223/2 "2026-09-23T14:23:05Z")

</div>

I got this recently and managed to solve it, though I can’t be 100% certain that all cases of this problem are the same; still, I thought it was worth sharing just in case.

> **Here's what I did.**
>
> 1. Select the macro node that’s causing a problem (the instance in the blueprint that won’t save, not the definition in the macro library). Copy it.
> 2. Open up a text editor and paste it in. You should see a textual description of the macro instance node – the first line should look like this (if it doesn’t, you copied the wrong thing):
> 
> ```auto
> Begin Object Class=/Script/BlueprintGraph.K2Node_MacroInstance Name="K2Node_MacroInstance_1"
> 
> ```
> 
> 3. On the second line, you’ll see the path to the macro node. It _should_ look something like this:
> 
> ```auto
> MacroGraphReference=(MacroGraph=EdGraph'"/Module/MacroLibraryName.MacroLibraryName:MacroName"',GraphBlueprint=Blueprint'"/Module/MacroLibraryName.MacroLibraryName"',GraphGuid=...omitted...)
> 
> ```
> 
> But in my case, it instead looked something like this:
> 
> ```auto
> MacroGraphReference=(MacroGraph=EdGraph'"/Module/MacroLibraryName.MacroName"',GraphBlueprint=Blueprint'"/Module/MacroLibraryName.MacroLibraryName"',GraphGuid=...omitted...)
> 
> ```
> 
> If you can’t see the difference, look at the string after `EdGraph` and note that the macro library name appears only _once_ instead of twice, and there’s no colon.
> 4. If it looks like the second, just make it look like the first (duplicate the macro library name and add a colon). Then select all that text and copy-paste it into Unreal to replace the bad node, and you should be able to save.

EDIT: Okay, I spoke too soon. That _really did solve it_… until I made some code changes and reopened the editor. Now it’s back, and the above solution no longer works. I suspect there may be some issue with the macro library itself, but it’s hard to figure out what that might be…

EDIT2: Recreating the macro in the macro library from scratch appears to genuinely fix the issue. That is, create a _new macro_ and copy-paste the nodes from the old one to the new one (the old one can then be deleted).

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [September 24, 2026, 4:33am UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223/3 "2026-09-24T04:33:03Z")

</div>

Yeah i found macros to be quite buggy in blueprint unfortunately

---

<div class="post-metadata">

**Author:** ![SolarflareSoft](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solarflaresoft/32/1192396_2.png) [@SolarflareSoft](https://forums.unrealengine.com/u/SolarflareSoft)\
**Post date:** [September 24, 2026, 5:28am UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223/4 "2026-09-24T05:28:07Z")

</div>

I’ll also note that it may be related to transferring assets between different versions of the engine. The macro library in question in my case was originally created in either 4.26 or 4.27, but the issue surfaced in Unreal 5.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [September 24, 2026, 6:26am UTC](https://forums.unrealengine.com/t/cant-save-blueprints-using-custom-macros-from-a-macro-library/1886223/5 "2026-09-24T06:26:40Z")

</div>

Yeah i find it can happen changing pins. Especially structs. But seems inconsistant
