Mutable - Macro - multiple instances issue

I have a Macro for coloring hairs and beards that uses export float pins from the Root CO, those are set by switch parameter.

Then I have a CO of the head, where I’m using tables for the SKM and MAT definitions in a row of the hairs and beards. I have a table for each, so they can be randomly combined.

If I use this coloring macro two times (first for the hairs, second for the beards), then on compile of the Root CO I’m getting warning saying that there is an issue with “Repeated parameter found”.

It is just warning, but the change of the coloring parameter doesn’t work, unless I keep only one macro in the Head’s CO.

If I would like to get hairs and bears colorized by the same parameter while having the source meshes and materials in the tables, is there any way utilizing the macro successfully?

Enum parameter defined in the Root CO (MCOR)

[Image Removed]

Macro

[Image Removed]

Instanced macros in the sub-CO linked to the Object group of Root CO

[Image Removed]

Hello Zbynek!

I will try to reproduce it and come with a solution as soon as possible. This may have been fixed for UE 5.7.

Hello again Zbynek!

I found the problem. Import and Export nodes were not intended to work within mutable macros. You were able to add them by copy pasting them into the macro, which was a bug.

However, after some discussions with the team, we arrived to the conclusion that import nodes should be spawnable into macro nodes.

This will be fixed in the next release version.

In case you need it for your current version, I will upload here the link to the github page of the UE5 main branch, so you can implement the fix yourself.

Here is the commit hash in the github page: f94295be9892062b99f71a93c407671010b70e26

(link: https://github.com/EpicGames/UnrealEngine/commit/f94295be9892062b99f71a93c407671010b70e26\)

Thanks a lot Max!