Merge Actors not properly baking materials with world position nodes

Using the merge actor tool on objects with a material that utilizes nodes such as ‘ActorPosition’, ‘ObjectPosition’ and ‘WorldPosition’ will not bake the materials properly.

Even if a single object is selected, the resulting baked material will not match the original.

Example: a group of objects using a material that maps color to actor position:

252832-capture-1.png

The resulting merged actor is:

252834-capture-2.png

Note that not only did the bake fail, as all the cubes have the same material and the texture is a solid green, but also the resulting color doesn’t even match any of the cubes.

I tried the same thing using ObjectPosition instead of ActorPosition and the result is the same.

Finally, i replaced the ActorPosition node with the WorldPosition node. Note that even though the bake was ‘better’, it still failed, since the resulting texture doesn’t match the original objects.

Original:

252835-capture-4.png

Merged:

252836-capture-5.png

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks