This may be really obvious, and I apologize in advance if redundant, I am sure many others faced the same situation, but I can’t find a tutorial that covers this in detail.
I am working on an NPC blueprint using AI mass, I followed available tutorials, and everything works up to the point when I would like to replace Manny with a custom character imported from DAZ, properly retargeted. As done previously with other NPC characters, I attached the skeletal mesh to the NPC character mesh and unchecked visible under details/rendering. The mesh disappears correctly in the blueprint viewport leaving the imported one alone, as intended, but when I simulate both meshes are visible, basically the visible option under rendering does not work in the simulation.
Thank you in advance,
Hi @MarcelloFerri
Let’s see…
Set Visibility in Blueprint: Set the visibility of your custom mesh explicitly via the Set Visibility node in the ConstructionScript or BeginPlay
Validate AI Logic: Ensure that your AI logic (e.g., AI Controller or Behavior Tree) is not altering visibility in the simulation.
Check Component Hierarchy: Ensure that parent components are not overriding the visibility of the custom mesh
Check LOD Issues: Make sure the custom mesh is not flipping between LODs or behaving strangely at different levels of detail.
Debug with Print Statements: Use Print String or logs to observe when visibility toggles when in simulation.
Verify Retargeting: Make sure the DAZ character is retargeted properly and compatible with the NPC blueprint
Check Collision Settings: Ensure collision settings are not interfering with visibility
Thank you, I will check point by point and will report back here. All the Best,
Marcello
I checked some of the items mentioned, and unfortunately no success. It should be noted that this has to do with Mass AI because I am able to hide the mesh with the same retargeted character on NPCs used outside Mass AI. I looked into the state tree crowd visualization item but again with no success…
I solved it by checking hidden in game in the same section, I knew it was simple, yet strange because it only affects Mass AI. Thank you, All the Best.
1 Like