Something wrong with Enum ForEachLoop node

SimplestWay
Tue, 02 Jan 2024 13:34:06 +0000
Issues and Bug Reporting

I have a modular character and I want to set the modular parts in runtime, so I created an enum named “BodyType”, and then made a BodyType-SkeletalMesh map to store the mesh info.

in my construct graph, I for loop the BodyType and can SetSkeletamMeshAsset like below:

My character’s left foot is missing like below:

Maybe my map data is wrong, I think and check, but the data is right.
Then, I changed to another way to achieve this:

The magic works, my character’s left foot come back now:

I guess there is something wrong with the ForEachBodyType node, maybe I was wrong, I don’t know, but the previous way is what I need in my project, please told me where I made mistakes, or how to avoid this bug, thank you so much!

Here is the test project and I posted to google driver:

drive.google.com

BugTst.zip

Google Drive file.

2 posts - 1 participant