In version 5.1, nothing happens, NPCs do not spawn ( Some fragments are added by multiple traits and can only be added by one! Some traits are requiring the presence of fragments which are missing! See the log for details LogOutputDevice: Error: Ensure condition failed: UE::MassBehavior::SetExternalFragments(StateTreeContext, StateTreeContext.GetEntityManager()) [File:D:\build\++UE5\Sync\Engine\Plugins\AI\MassAI\Source\MassAIBehavior\Private\MassStateTreeProcessors.cpp] [Line: 174] LogOutputDevice: Error: StateTree will not execute due to missing required fragments.
I found a solution that worked for me. You will still get one of the errors, but the system runs and the actors spawn in. Search the video "UE5 Tutorial MassAI Crowd in any project in less then 15 mins." by Viperdk UE5 and in the description look for the link next to "Traits for 5.1.1" I added the extra few fragments to the DA (Transform Fragment, Agent Radius Fragment, LODCollector, and SimulationLOD) and added the 2 traits (Agent Movement Sync and Agent Orientation Sync) to the MassAgent component in the character BP. I don't know if those are all truly necessary, but adding those worked for me. Good luck!
would love to see a tutorial for setting up with the city sample crowd (particularly in version 5.1) utilising the random ai generation - i followed the tutorial with that in mind but found the errors "Some fragments are added by multiple traits and can only be added by one!" and "Some traits are requiring the presence of fragments which are missing!" Edit: actually the errors might be a 5.1 thing as i tried it again with the third person character and the same errors came up.
no i have figured out that you have to add in assorted fragment the following mass viewer info fragment transform fragment agent radius fragment these in addition to the one he added mass actor fragment this should solve your error
Hi, do you have a continuation of this tutorial? I kept looking on this video on how to add a custom character, as what your title says. I only see the UE5 third person character being added. I think UE5 Third Person character is not a custom character, it is a generic character.
When i drop my same manny character in i get weird LOD issues where the animation and mesh is glitchy at a certain distance. Anybody run into this and have a fix?
Hi bro i am having issue regarding package when using Mass ai(i am setup dedicated server with C++ enable Massai and setup my level with mass ai function and working good in level but unable to package my crowed when package and run my server and client no crowed in my scene Massai work for multiplayer? your quick reply much appreciated.)
Very interesting tutorial. My goal is to make a stadium or concert crowd with it. So what is the way to use animated but standing in place characters, and placed into bleachers?
i have a problem , when i do play, it gives me this error: Some traits are requiring the presence of fragments which are missing!.....does anyone know how to fix? I use unreal engine 5.2
Thanks SO much! Yours is the only video that I have found that explains what the individual components do.
This is amazing. You can easily make them move only in one direction, right?
In version 5.1, nothing happens, NPCs do not spawn (
Some fragments are added by multiple traits and can only be added by one!
Some traits are requiring the presence of fragments which are missing!
See the log for details
LogOutputDevice: Error: Ensure condition failed: UE::MassBehavior::SetExternalFragments(StateTreeContext, StateTreeContext.GetEntityManager()) [File:D:\build\++UE5\Sync\Engine\Plugins\AI\MassAI\Source\MassAIBehavior\Private\MassStateTreeProcessors.cpp] [Line: 174]
LogOutputDevice: Error: StateTree will not execute due to missing required fragments.
I have the same problem. Have you solved it?
I found a solution that worked for me. You will still get one of the errors, but the system runs and the actors spawn in. Search the video "UE5 Tutorial MassAI Crowd in any project in less then 15 mins." by Viperdk UE5 and in the description look for the link next to "Traits for 5.1.1" I added the extra few fragments to the DA (Transform Fragment, Agent Radius Fragment, LODCollector, and SimulationLOD) and added the 2 traits (Agent Movement Sync and Agent Orientation Sync) to the MassAgent component in the character BP. I don't know if those are all truly necessary, but adding those worked for me. Good luck!
Wonderful. What a nice quickstart to MassAI.
would love to see a tutorial for setting up with the city sample crowd (particularly in version 5.1) utilising the random ai generation - i followed the tutorial with that in mind but found the errors "Some fragments are added by multiple traits and can only be added by one!" and "Some traits are requiring the presence of fragments which are missing!"
Edit: actually the errors might be a 5.1 thing as i tried it again with the third person character and the same errors came up.
hm, I had the same error with 5.2
no i have figured out that you have to add in assorted fragment the following
mass viewer info fragment
transform fragment
agent radius fragment
these in addition to the one he added mass actor fragment
this should solve your error
@@HassanRefaat-c8h it works thanks
Hi, do you have a continuation of this tutorial? I kept looking on this video on how to add a custom character, as what your title says. I only see the UE5 third person character being added. I think UE5 Third Person character is not a custom character, it is a generic character.
When i drop my same manny character in i get weird LOD issues where the animation and mesh is glitchy at a certain distance. Anybody run into this and have a fix?
What if I want to stop the NPC whenver I press E or someting for interaction
pls more state tree I love to see new tech
Thank you so much for this tutorial, but i have a small proble, in the MMassEntityAsset, its not showing in the state tree. it shows empty
i had that in 5.1, you need to just create a new one from there directly
Hi bro i am having issue regarding package when using Mass ai(i am setup dedicated server with C++ enable Massai and setup my level with mass ai function and working good in level but unable to package my crowed when package and run my server and client no crowed in my scene Massai work for multiplayer? your quick reply much appreciated.)
Very interesting tutorial. My goal is to make a stadium or concert crowd with it. So what is the way to use animated but standing in place characters, and placed into bleachers?
It will be perfect for you then
I would love to see this but adding in Smart Objects within the AI system. It's something I have been reading up on
i have a problem , when i do play, it gives me this error: Some traits are requiring the presence of fragments which are missing!.....does anyone know how to fix? I use unreal engine 5.2
Hi can you make a tutorial about peds system same as gta type where crowd also has behavior such as Frightened, angry, violent etc
Nice Work, Can i use this with PCG graph?
HI bro thanks for this wonderful full tutorial but when I package my AI crowed not appearing
Would this work in als v4?
many thanks - nice tut
Please reply to the Udemy course Questions!
Can we get a tutorial on how add vehicle mass AI Traffic in Unreal engine 5.1 Please!
UE5 TOO MANY HOOPS TO JUMP THROUGH... SAD DRAG AND DROP CROWD WOULD BE NICE
Tele Web aldagansizku
Yolg'onku
anyone rely on this