# Blueprint Assist Plugin

**URL:** <https://forums.unrealengine.com/t/blueprint-assist-plugin/214123>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [June 15, 2017, 2:29pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123 "2017-06-15T14:29:19Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [March 30, 2024, 2:51pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/164 "2024-03-30T14:51:06Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![Louspirit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/louspirit/32/1223530_2.png) [@Louspirit](https://forums.unrealengine.com/u/Louspirit)\
**Post date:** [April 3, 2024, 10:25am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/165 "2024-04-03T10:25:08Z")

</div>

Hello, don’t know if it’s related to the error you mentioned, but I got a crash when adding a Sequence node between two linked nodes (UE5.3).

edit: I suppose because after updating all seems ok.

```auto
Assertion failed: IsValid() [File:D:\RocketSync\5.3.0-27405482+++UE5+Release-5.3\Working\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 1139]

UnrealEditor_BlueprintAssist!FBAGraphHandler::PostFormatComments() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistGraphHandler.cpp:1714]
UnrealEditor_BlueprintAssist!FBAGraphHandler::PostFormatting() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistGraphHandler.cpp:1664]
UnrealEditor_BlueprintAssist!FBAGraphHandler::FormatNodes() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistGraphHandler.cpp:3191]
UnrealEditor_BlueprintAssist!FBAGraphHandler::UpdateNodesRequiringFormatting() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistGraphHandler.cpp:2456]
UnrealEditor_BlueprintAssist!FBAGraphHandler::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistGraphHandler.cpp:467]
UnrealEditor_BlueprintAssist!FBATabHandler::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistTabHandler.cpp:53]
UnrealEditor_BlueprintAssist!FBAInputProcessor::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\BlueprintAssist\Source\BlueprintAssist\Private\BlueprintAssistInputProcessor.cpp:100]
UnrealEditor_Slate!FSlateApplication::FinishedInputThisFrame() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:1428]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5809]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

```

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [April 6, 2024, 12:52am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/166 "2024-04-06T00:52:03Z")

</div>

Thanks for letting me know. I believe the latest update fixed this case, but I’ll keep an eye out for this one.

---

<div class="post-metadata">

**Author:** ![Variann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Variann](https://forums.unrealengine.com/u/Variann)\
**Post date:** [May 19, 2024, 10:02am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/167 "2024-05-19T10:02:28Z")

</div>

I’d like to make a small feature request, if it isn’t too much trouble:  
I found out that there are actually 2 types of comment bubbles, the normal comment that we are all used to and another that is mostly used by custom editors, made through SNodePanel::PaintComment. I noticed that when you format nodes, it considers the normal nodes comment when spacing out nodes, but not this other type of comment. This isn’t really an issue in Blueprints as I’ve never seen any Blueprint using this, but for plugins like “Flow”, where both type of comments are used quite heavily, this is a common issue.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/7/af71f039fb1c2c76c0ed60da1fde523538437e64.png)

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [May 20, 2024, 5:25am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/168 "2024-05-20T05:25:23Z")

</div>

Thanks for letting me know, I’ll have a look at this 👍

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [May 22, 2024, 11:31am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/169 "2024-05-22T11:31:40Z")

</div>

Hi I had a look into this, this issue only occurs for the Flow graph.

Unfortunately the way this special comment bubble is not a widget but instead painted straight onto the graph along with the node. Which means I can’t calculate the bounds of it and cannot fix the spacing for this case…

---

<div class="post-metadata">

**Author:** ![Variann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Variann](https://forums.unrealengine.com/u/Variann)\
**Post date:** [May 23, 2024, 10:00am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/170 "2024-05-23T10:00:49Z")

</div>

Ah that sucks, I suspected something weird was being done because not even the Widget Reflector debugger can click on this comment bubble. Is there any way to implement a fix on Flow’s side? Is there any way of perhaps “lying” to the editor the bounds of the node? I believe I found some code in this bubble that calculated the width required to fit the text.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [May 24, 2024, 2:31am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/171 "2024-05-24T02:31:29Z")

</div>

Yes that would be possible however the problem is I would need to know what the text being displayed in that bubble is meant to be.

I don’t think I can do that without including the Flow plugin as a dependency and I cannot do that for my plugin.

---

<div class="post-metadata">

**Author:** ![Variann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Variann](https://forums.unrealengine.com/u/Variann)\
**Post date:** [May 24, 2024, 6:55pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/172 "2024-05-24T18:55:49Z")

</div>

I believe I’ve found a bug, I found this while working in Flow where I have nodes that change sizes and found a way to replicate the issue in normal blueprints.

If you create a function, use the `CompactNodeTitle` and put in some text, place it in a graph and format it, it’ll behave just normally. If you then change the word into something longer and format it again, the formatter still believes the node is the old size and won’t accommodate for the new size.  
But if you place down a new node with the new size, then the formatter treats the size correctly.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/6/cf6be0066bd3a340e85f51fb414db011417f7a93.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/7/4d79ae846b2295bd835a1ee1207e05adb0da8854.png)

If I modify `GetCachedNodeBounds` to always use the nodes `GetDesiredSize`, it fixes this, but that causes comment bubbles positioning to break.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [May 25, 2024, 11:49am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/173 "2024-05-25T11:49:41Z")

</div>

You don’t want to be using GetDesiredSize because when you zoom in / out the graph this size will change. So you can’t get a consistent node size with that function.

For now you can select the nodes and manually run the command to Refresh Node Size (CTRL + SHIFT + R) and this should update it. I’ll see if I can do something to automatically check for the compact title change.

---

<div class="post-metadata">

**Author:** ![Variann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Variann](https://forums.unrealengine.com/u/Variann)\
**Post date:** [May 25, 2024, 12:37pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/174 "2024-05-25T12:37:05Z")

</div>

It’s not specifically around compact title change, so just finding a fix for this specific scenario won’t fix the original issue that I’m having in the Flow graph and might not fix it in other areas where nodes can change sizes. The issue is that some nodes can change sizes and the plugin is still using the cached size before the size changed. This is just one way that I found in Blueprints to replicate the issue I’m finding in a different plugin (that is still using the same node system as Blueprints)

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [May 25, 2024, 3:10pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/175 "2024-05-25T15:10:20Z")

</div>

The plugin detects most of the size changes and will refresh the size for these nodes before formatting. Thus (it should) keep an accurate size even if you resize the node.

You can look at the BlueprintAssistNodeSizeChangeData.cpp file to see exactly what it does account for right now. If there is another case in regular blueprints which triggers the size issue please let me know and I’ll try to fix it.

* * *

Regarding nodes in the flow plugin: since these are not implemented exactly the same as normal blueprints, there will be edge cases which I cannot fix at all because it would require including the flow plugin.

Perhaps in the future I can look into making a fork of the plugin to fix these but I do not have plans for that right now.

---

<div class="post-metadata">

**Author:** ![Orapakata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orapakata](https://forums.unrealengine.com/u/Orapakata)\
**Post date:** [June 13, 2024, 3:02pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/176 "2024-06-13T15:02:41Z")

</div>

Is there a setting to override the default padding for seperate event nodes grouped together in a comment? Basically I would like event nodes which are in the same comment to be closer together than the rest of my events.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [June 14, 2024, 1:40am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/177 "2024-06-14T01:40:24Z")

</div>

Hi @Orapakata, this is not supported at the moment. However it should be fairly simple to add, I will try to look into this for the next update.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [July 18, 2024, 7:23am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/178 "2024-07-18T07:23:37Z")

</div>

Added in version 4.2.17: See setting named `Format All Padding In Comment`

---

<div class="post-metadata">

**Author:** ![TheSilver812](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thesilver812/32/549763_2.png) [@TheSilver812](https://forums.unrealengine.com/u/TheSilver812)\
**Post date:** [July 21, 2024, 4:25pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/179 "2024-07-21T16:25:04Z")

</div>

Hello! How can I stop this weird reroute node formatting behavior from happening?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/9/9f919814605c118d5108716142903720486fa989.png)

I’m on UE 5.3, using Left Hand Side style.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [July 23, 2024, 10:50am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/180 "2024-07-23T10:50:03Z")

</div>

Hi @TheSilver812, this does look like a bug. I tried to replicate a similar case on my end but wasn’t quite able to. If possible, could you post the entire function?

---

<div class="post-metadata">

**Author:** ![TheSilver812](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thesilver812/32/549763_2.png) [@TheSilver812](https://forums.unrealengine.com/u/TheSilver812)\
**Post date:** [July 23, 2024, 4:03pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/181 "2024-07-23T16:03:09Z")

</div>

Sure, no problem! Here are a few instances of this happening:

 ![Screenshot 2024-07-23 174301](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/b/2cb959771b1a95985dbed4f8191ca318ab2eb5b6.png)  
 ![Screenshot 2024-07-23 174414](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/0/3e066b02e0f4c95cfcd570720355a9a4fd9cc6de.png)  
 ![Screenshot 2024-07-23 174600](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/a/87a393e11d145917c92b06d58dacde87ac90d206.png)

I also got this problem in the same project:

 ![Screenshot 2024-07-23 174747](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/3/643274dce22bc5216ef60d33673171f299e90418.png)

Which referred to the selected reroute node here:

 ![Screenshot 2024-07-23 174814](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/6/1e6f981b5e86bf0db4f8559f9cdef80dbc3c03c1.png)

I think the problem is that the wire connection after it was doubled for some reason.

And for a while I also had the [Auto Size Comments](https://www.unrealengine.com/marketplace/en-US/product/auto-size-comments?sessionInvalidated=true) plugin in this project, but I had many problems when using the formatting function of your plugin. The comments changed their size completely and got one inside the others pretty much every time there was more than one comment at the same time. Quite frustrating to be honest. I have no example of this right now, sorry.

These are my BP Assist settings:

 ![Screenshot 2024-07-23 175931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/5/2d58fba84e9055e799e71d16f330c27975423a49.png)  
 ![Screenshot 2024-07-23 175939](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/d/dad1b36293911deed3469d625a1ea8a826bcc4d9.png)  
 ![Screenshot 2024-07-23 175946](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/1/1a1bcffa333884cf9073cc00bdd58fc8c904e32a.png)

I can also lend you the whole project if you need it. It’s just a class assignment for my studies, nothing important nor big.

---

<div class="post-metadata">

**Author:** ![fpwong](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fpwong/32/1194512_2.png) [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Post date:** [July 24, 2024, 8:37am UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/182 "2024-07-24T08:37:05Z")

</div>

Thanks for the screenshots. There certainly seem to be some odd things going on here, I suspect some of these may be fixed by simply refreshing the node size.

You can do this by selecting all the nodes in the problematic functions and pressing `CTRL+SHIFT+R`. Do let me know if this fixed any of the cases in your images.

If there are still formatting issues, another thing to test is simply stop the formatting from handling comments (as this usually kind of the buggy part of it). You can do this in the `BP Assist toolbar icon > Apply Comment Padding`.

Lastly the warning with the “Badly linked reroute node”, does this go away if you delete it and reformat? If not it would be very appreciated if you could share the project. This is an issue that I thought I had resolved a long time ago 😕

---

<div class="post-metadata">

**Author:** ![TheSilver812](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thesilver812/32/549763_2.png) [@TheSilver812](https://forums.unrealengine.com/u/TheSilver812)\
**Post date:** [July 24, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123/183 "2024-07-24T13:35:10Z")

</div>

Sadly none of your advices worked. But hey, at least I managed to capture an example of the comment problem I mentioned earlier. This is the code before formatting, with separated comments:

 ![Screenshot 2024-07-24 151418](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/1/a21cf652ca513103b682760583a270237b004817.png)

And this is after formatting (bugged reroute node here too):

 ![Screenshot 2024-07-24 151406](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/5/6650a5718eb900967b7afe82559b81cc20933243.png)

I sent the link to download the project to your email: [func.pwong@gmail.com](mailto:func.pwong@gmail.com)

These are a few of the affected functions:

W\_BuildingSelector → EventPreConstruct  
BP\_TerrainGenerator → CheckTerrain  
BP\_TerrainGenerator → CalculateLake  
BP\_BaseBuilding → AddItemToProduction (Bad reroute and comments here)  
PS\_RTS → PayResourceCosts

[Previous page](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123.md?page=8)

[Next page](https://forums.unrealengine.com/t/blueprint-assist-plugin/214123.md?page=10)
