UE5 Tutorial MassAI Crowd in any project in less then 15 mins.

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 336

  • @Bladewing51
    @Bladewing51 Рік тому +21

    If anyone has an error where Set Groom Asset function is missing or you only get warnings to add 2 plugins and not 3, add the groom plugin to your project manually.

  • @DjSadhu
    @DjSadhu 2 роки тому +1

    Excellent tutorial, easy to follow. Thanks!

  • @DJDCRYPTER
    @DJDCRYPTER 2 роки тому +2

    Fantastic tutorial, looking forward to learning how to spawn crowds in different zones.

  • @adnbouch9259
    @adnbouch9259 2 роки тому +4

    Another amazing tutorial Thanks a lot for sharing with us your knowledge .

  • @DjSadhu
    @DjSadhu 2 роки тому +1

    Can I ask - I need a crowd just walk from point A to point B, what would be the quickest way to do this? Spawn at 1 point (not along the path)

    • @viperdkue5
      @viperdkue5  2 роки тому

      Not sure I understand what you want to do, ?

  • @easyskankaify
    @easyskankaify 2 роки тому +2

    one of the easiest to follow tutorials i think ive ever used, good stuff!

  • @81Nemessis
    @81Nemessis 2 роки тому +10

    young young young from 1 hour 30 min. to 15 min. I got it right the first time. Audio was also super written. Voice is also very pleasant to hear. Keep it up and your channel will explode with members. Kiss Kiss😂👍

  • @JB-yk5ic
    @JB-yk5ic 2 роки тому +2

    Excellent tutorial, very clear. Thanks for taking the time to share your expertise, much appreciated!

  • @GuillaumeLT
    @GuillaumeLT 2 роки тому +3

    UE5.1 After first step at 1:40 "Can't connect pins Groom and Asset : Soft Object Reference is not compatible with Soft Object Reference. " I hope your new videos are coming soon. Thank you for figuring this stuff out for us.

    • @hookman1979
      @hookman1979 2 роки тому +1

      Same issue here, I notice the face doesn't have moustache etc. either... the asset did say its not compatible with 5.1, maybe thats the problem?

    • @viperdkue5
      @viperdkue5  Рік тому +2

      I just did a test on 5.1 and it seems you need to enable Groom plugin manually then City Sample Crowd works normally. I'm still testing MassAI in 5.1 but think we just need to remove some traits/fragments and add other traits/fragments and it works like in 5.0.

    • @hookman1979
      @hookman1979 Рік тому

      @Viperdk UE5 ah that's great, if you could post full instructions on any changes from the video once youve finished testing that'd be appreciated!

    • @GuillaumeLT
      @GuillaumeLT Рік тому +2

      @@viperdkue5I added Groom from plugin at the beginning. It almost work. I get last minute error: "Some traits are requiring the presence of fragments which are missing"

    • @viperdkue5
      @viperdkue5  Рік тому +3

      @@GuillaumeLT Add Transform Fragment and agent radius Fragment under Assorted Fragment and in BP_CrowdChar select MassAgent then in details panel under Mass/Entity Config remove all and add only AgentMovementSync and AgentOrientationSync, that worked for me.. Good luck 🤞

  • @sensi2fr
    @sensi2fr Місяць тому +2

    The UE 5.5 update is breaking the BP_CrowdCharacter "GetSafeCopy" function over its MakeArray pin, to fix it right-click that MakeArray [0] pin element and click "remove array element pin".

  • @Gladiy
    @Gladiy 2 роки тому +1

    Dont work in 5.1, 1:22 . Y can fix this?
    In use pin Asset no longer exists on node Set Groom Asset . Please refresh node or break links to remove pin.
    In use pin no longer exists on node Set Groom Asset . Please refresh node or break links to remove pin.
    In use pin Target no longer exists on node Set Groom Asset . Please refresh node or break links to remove pin.
    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.

    • @viperdkue5
      @viperdkue5  Рік тому

      I just did a test on 5.1 and it seems you need to enable Groom plugin manually then City Sample Crowd works normally. I'm still testing MassAI in 5.1 but think we just need to remove some traits/fragments and add other traits/fragments and it works like in 5.0.

    • @Gladiy
      @Gladiy Рік тому

      @@viperdkue5 The plugin Groom has been enabled. We are looking forward to your guide under 5.1

    • @frankdragon
      @frankdragon 3 місяці тому

      @@Gladiy maybe i am late to the party but after you install all the plugins you need to delete and re import the crowds asset, at the very beginning is where it makes all the work related to hairs mustaches etc...

  • @BarakXYZ
    @BarakXYZ 2 роки тому +1

    That's amazing man!
    Can't wait for more stuff

  • @wachaoochannel9912
    @wachaoochannel9912 2 роки тому +1

    What a great tutorial man. Thank you. Keep it up i can't wait until for next videos. It would be great if the mass ai crowd can have their asscesory.

  • @AleRender
    @AleRender Рік тому +2

    Hi, thanks for the tutorial, but I tried it on version 5.3.2, and it didn't work for me. The Blueprint gives me many more errors than the ones shown there. Groom errors (and I have it enabled)

    • @quentinarrius
      @quentinarrius 11 місяців тому

      Yep, same here, still trying to fix it.

  • @claudioproietto6192
    @claudioproietto6192 Рік тому +10

    Unfortunately, it doesn't work with 5.3 . I tried anything, even the Traits corrections suggested, but I obtain just some persons that walk in place. ah and there is in any version a strange bug, like a glitch with the shadow that intersect with the main skin.
    Someone have a solution? thanks.

    • @malteetlam3330
      @malteetlam3330 9 місяців тому +8

      under Assorted Fragements you have to add two more Fragments:
      Transform Fragment
      Agent Radius Fragment

    • @Heppastraboi
      @Heppastraboi 4 місяці тому

      @@malteetlam3330 Thanks alot! it works.

  • @PrabhuRPR
    @PrabhuRPR 2 роки тому +12

    An explanation behind everything you do would be much more insightful than just instructions.

  • @petomandik
    @petomandik Місяць тому

    For those which characters stop animating after a while and are only flying I found out that you need to open ABP_Crowd animgraph and set MTN_N_WALK_F to loop in the settings. It still not works perfect, but it loops the animation so it never stops.

  • @ruimarques12345
    @ruimarques12345 2 роки тому +4

    While I'm here, let me give some input that might hel someone that runs into the same problem as me. If you're importing some meshes for landscape, they might come with no collisions. If that's the case, when you hit play, your crowd will fall into the infinity and you'll be just seeing the ai debug, should it be turned on. If that happens, try to build the collisions for your ground mesh.

  • @heroacross
    @heroacross Рік тому +1

    Im not sure why it isnt working for me, the walking animations and character randomization work in the viewport but i followed the steps and nothing is spawning. I must've messed up an important step along the way

  • @jbach
    @jbach 11 місяців тому +3

    Can anyone confirm, does this work in 5.3? I'm getting the following when I play "Some traits are requiring the presence of fragments which are missing"

    • @leandrogamedev
      @leandrogamedev 7 місяців тому +2

      In the Data asset, under Assorted Fragements you have to add two more Fragments:
      Transform Fragment
      Agent Radius Fragment

  • @sascha.
    @sascha. Рік тому +2

    Any idea how to fix the "Some traits are requiring the presence of fragments which are missing!" error coming from the ST_Crowd fragment in the State Tree Trait inside the DA_CrowdAgent?

  • @owaizkhan2776
    @owaizkhan2776 Рік тому +3

    City Sample crowd's BP is showing errors in 5.1. Can you please make a video to fix that?

  • @joeHenane
    @joeHenane Рік тому +1

    some traits are requiring the presence of fragments which are missing
    help please :D

  • @phenominc
    @phenominc Рік тому +2

    hi ya, ive followed everything in the tutorial and still nothing spawns at the end. In the debugger nothing shows up either. Any idea why? im on 5.2

  • @leventeczutor8239
    @leventeczutor8239 Рік тому

    "Some traits are requiring the presence of segments which are missing". Regardless of what I do, I get this message after following each of your steps.

    • @leventeczutor8239
      @leventeczutor8239 Рік тому +4

      We need to add Transform and Agent Radius inside Assorted Fragments to solve this issue.

    • @jessk9581
      @jessk9581 4 місяці тому

      @@leventeczutor8239 What if we did that and it still says segments are missing?

  • @StinnMysterious
    @StinnMysterious 2 роки тому +4

    Please also do a tutorial on adding custom metahumans into masscrowd walk.

    • @viperdkue5
      @viperdkue5  2 роки тому +3

      Yeah, that a good idea, I will look in to that ^^

    • @海威江
      @海威江 Рік тому

      I need this tutorial too!@@viperdkue5

  • @pacotedemaple
    @pacotedemaple 2 місяці тому +1

    Hey Thank you so much. I try find the City Sample Crownd on Fab, but I think that isn't available to download. Could you share the the pack for downloading? Thanks again!

  • @SvenRopertz
    @SvenRopertz 2 роки тому +3

    Hello, if I follow your tutorial the npc do not walk, they are walking on place. Any idea why?

    • @viperdkue5
      @viperdkue5  2 роки тому

      Do you have 2 Zoneshapes connected?

    • @SvenRopertz
      @SvenRopertz 2 роки тому +1

      @@viperdkue5 Ah ok, I remember I did not. The Problem was the triangles stays grey they didn‘t went white. Any idea why. I‘ll try again

    • @viperdkue5
      @viperdkue5  2 роки тому

      @@SvenRopertz Are they the same Lane profile ?

    • @SvenRopertz
      @SvenRopertz 2 роки тому

      @@viperdkue5 Yes they are

  • @sabkarim
    @sabkarim Рік тому +1

    Thanks for the tutorial. It all went well, but at 9:20 I couldn't select the state tree that I made, somehow the Mass Entity Config doesn't see my state tree. Any help is appreciated. Thanks!

    • @qntmstudios1214
      @qntmstudios1214 Рік тому +2

      I got round this by clicking Create State Tree from inside the Entity Config and that was the only way I could get it in there.

    • @ElectricLoft
      @ElectricLoft Рік тому

      @@qntmstudios1214 This not working for me, if I create a new one here, it still doesn't get added.

    • @ElectricLoft
      @ElectricLoft Рік тому +2

      @@qntmstudios1214 Actually it worked if I chose the MassStateTreeSchema

    • @sabkarim
      @sabkarim Рік тому +1

      @@ElectricLoft I Haven't tried it yet but I will give it a shot when I have some time. Thanks!

  • @parthchotaliya3468
    @parthchotaliya3468 Рік тому

    I'm getting stuck at 09:23min. The ST_crowd option isn't coming. I'm using 5.1 Version. Pls help?

  • @bojantepavcevic7069
    @bojantepavcevic7069 2 роки тому +4

    Great tutorial! From some reason, my agents doesn't move, just walk in place. How do I fix it?

  • @xdavis2919
    @xdavis2919 2 роки тому +2

    My ai take a few steps then walk in place. How do I fix it?

    • @jon_west
      @jon_west 2 роки тому

      If you figure this out let me know

  • @pumahane999
    @pumahane999 Рік тому +5

    First of all - Many Thanks for a wonderful tutorial ! Really Really appreciate your work ! As I belive many with me would like you to do an updated version for 5.2 because I don´t believe there are one person here that use 5.2 that has it working....I got 60 Errors when compiling - And that is just to much to be resolved....Like many others here there are problems with Mustache, Beard and Hair but also "Set Grooms Material". I tried what people have suggested here - but no luck. So please please - Could you make a New tutorilar for 5.2 - Because of Nanites nearly everyone will use 5.2 soon i guess....
    IF someone here has a working version - An example of the Mass Crowd working (Not the city sample...) it would be much appreciated to be able to download or in some way understand how you got it working....
    Kind Regards

    • @starchaser28
      @starchaser28 Рік тому +2

      I'm running into the same issues with 5.2 and would also like to see an updated tutorial.

    • @mickmeenan
      @mickmeenan Рік тому

      Same here got rid of all warnings, but when it comes to simulate, nothing happens got an error, cant recall what it said as i deleted , but it was to do with missing fragments on the stat tree, but i couldn't figure it out

    • @rboerdijk76
      @rboerdijk76 Рік тому

      I got it working in 5.3.2, added some notes on what needed to be done in addition to following the video in my other comment.

    • @liampugh
      @liampugh Рік тому

      @@mickmeenan if you literally add all the missing fragments mentioned in the error message to the Crowd Data asset it should work

    • @ahmedhafeez06
      @ahmedhafeez06 Рік тому

      @@liampugh how?

  • @leventeczutor8239
    @leventeczutor8239 Рік тому +1

    How do I get this to show up on a cinematic video or rendering?

  • @yosaphatmade3197
    @yosaphatmade3197 2 роки тому +2

    Great tutorial! It works for newbie like me! But is there any way to make the crowd not collide with each other? The original crowd from ue5 City sample have a sensor which make them not colliding with each other

  • @naytbreeze
    @naytbreeze 2 роки тому +1

    Awesome tutorial !!! Btw let’s say I need to edit the route of the people do I need to redo the whole thing ? Or can I just edit the path somehow?

    • @viperdkue5
      @viperdkue5  2 роки тому +1

      In the Editor you can edit the zoneshapes and and click rebuild Zonegraph, In the Game we can not edit the Zoneshapes, maybe in the future.

  • @TorQueMoD
    @TorQueMoD 5 місяців тому

    Great video! Thank you so much for using an AI voice instead of nothing. I can't stand silent tutorials.

  • @roxas2sora45
    @roxas2sora45 2 роки тому +2

    thanks for these tutorials! will you make a more complex tutorial for vehicles? (To change their color and make the lights work)

    • @viperdkue5
      @viperdkue5  2 роки тому +2

      Yes, I will try and make a video about it soon .

  • @VINAYKATAMBLE-q6t
    @VINAYKATAMBLE-q6t 27 днів тому

    hey can you control the mass AI crowd to send it to particular location when event is triggered?

  • @BorisMagazinnikov
    @BorisMagazinnikov 2 роки тому +1

    Thanks a lot!!! This is priceless!!!

  • @l1sten-zh6cv
    @l1sten-zh6cv Рік тому +1

    I encountered a problem if my level/map is too big and my zone graphs are far from the centre my mass spawner does not spawn any humans. Anyone encountered this and managed to solve this?

  • @jingrong7797
    @jingrong7797 2 роки тому +1

    Great tutorial. Can we have another vehicle tutorial? Because the current use method seems to be different from the previous vehicle tutorial.

  • @arshankhan6833
    @arshankhan6833 2 роки тому +2

    hey bro if i use this in level sequencer for animation so this method work ? am beginer bro thanks in advance

    • @viperdkue5
      @viperdkue5  2 роки тому

      Hello, I dont think the Spawner works in sequencer, but you can hand place the characters on the Zoneshapes and it should work ^^

    • @naytbreeze
      @naytbreeze 2 роки тому

      same issue

    • @arshankhan6833
      @arshankhan6833 2 роки тому

      @@naytbreeze so did you try this method ? It work in sequencer or not ?

    • @naytbreeze
      @naytbreeze 2 роки тому

      @@arshankhan6833 Some suggested I follow this video instead to get the animations into a tape recorder. Going to try today. ua-cam.com/video/9MLjstChfDM/v-deo.html

    • @claotonno4115
      @claotonno4115 2 роки тому

      @@arshankhan6833 I'm beginner too, for a single character to work in sequencer look at my comment to Rui Marques

  • @mdksmash
    @mdksmash Рік тому +1

    Hey,
    Thank for the tutorial, I am facing an issue that i can't find a fix for,
    following ur method on 5.2 worked like a charm
    but this doesn't work on 5.3 it just keep crashing once i open the BP_CrowdCharacter ( causing a rash with Rigvm and multiple other things)
    IDK what to do to get it to work on 5.3

  • @astromelon
    @astromelon Рік тому +3

    Thanks for the video. I tried it in UE5.1. At the start of the simulation, I get the message "Some traits are requiring the presence of fragments which are missing!" and there are no people on the screen. Is there a workaround?

    • @viperdkue5
      @viperdkue5  Рік тому +3

      this shows you what Traits you need drive.google.com/file/d/1D1lPc-nIbJq7Q0xmC9Fh-q19nNv1JnCX/view

    • @Fedexmaster91
      @Fedexmaster91 Рік тому +1

      @@viperdkue5 Thanks man, that worked perfectly for me

    • @astromelon
      @astromelon Рік тому

      @@viperdkue5 Thank you. I set the part you mentioned and it works. Have a nice day.

    • @andythefork
      @andythefork Рік тому

      @@viperdkue5 You're a lifesaver, adding the fragments I was missing in the DA and adding those 2 traits in the BP got my actors to show up! Thank you!

    • @paulbeeley6210
      @paulbeeley6210 Рік тому

      @@viperdkue5 Thanks!!

  • @흐물흐물한인간
    @흐물흐물한인간 4 місяці тому

    I successfully converted this project to version 5.4 and started from a blank project to move this crowd simulation to my custom map. However, after playing for a while, the crowds that are supposed to move along the path start to wander off on their own, even though not much time has passed. This unexpected result has left me unsure of where to start and how to fix it. If there are any explanations about controlling such variables in the channel, please recommend them to me. There are so many versions and videos in the channel that it confuses me.

  • @christophe1584
    @christophe1584 Рік тому +2

    Hello !
    Thanks a lot for this amazing tutorial, however I have this error when I hit play or debug options in the massspawner (and can't find out why!):
    "LogMass: Error: Trait(MassCrowdVisualizationTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassZoneGraphNavigationTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassNavigationObstacleTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: Trait(MassObstacleAvoidanceTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassMovementTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassSteeringTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassSmoothOrientationTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassLODCollectorTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Some traits are requiring the presence of fragments which are missing!
    LogMass: See the log for details
    LogMassRepresentation: Error: No associated meshes for this intanced static mesh type"
    Thanks a lot for help!

    • @christophe1584
      @christophe1584 Рік тому +2

      It seems that I've "solved" the problem by adding "TransformFragment" and "AgentRadiusFragment" to the first traits (Assorted Fragments) in "DA_Crowd", however now I have another problem haha:
      "LogMassRepresentation: Error: No associated meshes for this intanced static mesh type
      LogMass: Error: Fragment(AgentRadiusFragment) was added multiple time and can only be added by one trait. Fragment was added by:
      LogMass: Error: MassAssortedFragmentsTrait
      LogMass: Error: MassAgentCapsuleCollisionSyncTrait
      LogMass: Error: Fragment(MassVelocityFragment) was added multiple time and can only be added by one trait. Fragment was added by:
      LogMass: Error: MassAgentMovementSyncTrait
      LogMass: Error: MassMovementTrait
      LogMass: Error: Some fragments are added by multiple traits and can only be added by one!"

    • @amansaifi4362
      @amansaifi4362 Рік тому +1

      @@christophe1584 Hey, I am facing the same error. Did you find the solution?

  • @sabrinadu1711
    @sabrinadu1711 2 роки тому +2

    Great tutorial, thank you! How would we make this pedestrian system with EQS? Can you use behavior trees instead of state trees?

    • @viperdkue5
      @viperdkue5  2 роки тому

      I dont think so :S Have a look at this ua-cam.com/video/w7zs7-oI2_I/v-deo.html

  • @moisesserrano4943
    @moisesserrano4943 Рік тому +2

    Hii, thanks for the tutorial! It´s almost working in 5.1, but I think the walking animation isn´t looping. I guess it´s because I can´t find where to put the things of the 5.1 screenshots : ABP_Crowd-SeguencerPlayer-Details
    Where can I find that panel?
    Thanks!!!!

    • @JackRussel0717
      @JackRussel0717 Рік тому

      me too. all working execept that ;< please help me

  • @uaungmyintthein4303
    @uaungmyintthein4303 2 роки тому +1

    Why I can’t see people ? I only see AI debug text box . please tell me

  • @muhammadtabish1650
    @muhammadtabish1650 Рік тому +1

    In my component panel face don't have mustache, beard and hair.
    can you please help me here ?
    Thanks a lot!

  • @litkt7658
    @litkt7658 2 роки тому +1

    Big thanks!! I'm trying to make a little cyberpunk street. What do you think is the best practice to make use of this and change pedestrians to cyberpunk look?

    • @viperdkue5
      @viperdkue5  2 роки тому +1

      Just use your Cyberpunk Character and add mass agent to it :)

  • @rossgribben4870
    @rossgribben4870 Рік тому +1

    update for 5.1? - cant get past the character bp setup as so many errors

    • @ElectricLoft
      @ElectricLoft Рік тому

      solve it?

    • @deeppixelstudio
      @deeppixelstudio Рік тому +1

      @@ElectricLoft eventually, had to just go through each error, most of the time the groom component was reset to object component. Some nodes wouldn't work and needed to be copied from an open 5.0 project that had it working and some connections were depreciated. I got it fixed but haven't tried doing the rest of the steps yet to see if it works

  • @Hahhahahahahahahahahahaohno
    @Hahhahahahahahahahahahaohno Рік тому +1

    Bro why don’t you upload anymore ..? The people need you

  • @TidexzGames
    @TidexzGames Рік тому +1

    cant put the statetree in the data asset :/

    • @sascha.
      @sascha. Рік тому +2

      Yep, it only works when you create it from there. Unfortunately, it will still fail later because it cannot be validated: "Some traits are requiring the presence of fragments which are missing!"

  • @AugustHayashi-x9k
    @AugustHayashi-x9k Рік тому

    got some issues with traits, it says it's deprecated, what do I do?

  • @ruimarques12345
    @ruimarques12345 2 роки тому +3

    Hi. Amazing video, by the way. Is there a way to activate the crowd mass ai when doing a movie in sequencer? I tried to track pretty much everything I thought that might work, but I had no luck with that. Can you help with that, or does anyone know something about this?

    • @viperdkue5
      @viperdkue5  2 роки тому

      I dont know, I have never used the sequencer, but I'll give it a try.

    • @ruimarques12345
      @ruimarques12345 2 роки тому +1

      @@viperdkue5 I think there might be a way to trigger an event in sequencer that activates other events on a blueprint. The thing is the crowd mass is working based on event begin play. I'm trying to do that in sequencer. If you have a BP_character, you can track it on sequencer. When they spawn on event begin play, you don't have them on the outliner

    • @viperdkue5
      @viperdkue5  2 роки тому

      @@ruimarques12345 ​ You can actually use it without the Spawner, if you make a duplicate of your DataAsset and delete the CrowdVisualization from it and add the DataAsset to the MassAgent in BP_Character, you can just hand place the BP_Character and the MassAI works, but I dont know how it works in sequencer..

    • @ruimarques12345
      @ruimarques12345 2 роки тому

      @@viperdkue5 I tried that but it only spawned the character itself. It didn't show any characters, apart from the one of the BP itself. If it did work it might be the solution because I can track blueprints directly from sequencer. It would be like a BP that would trigger the crowd simulation. So far, I wasn't able to make it work. Maybe I did something wrong

    • @JiseonKim
      @JiseonKim 2 роки тому

      @@ruimarques12345 Hey Rui, I am in same situation as you were and I couldn't make it work so far, any success?

  • @syedsaadjamal7471
    @syedsaadjamal7471 2 роки тому +1

    Thanks for the tutorial

  • @gilbviz
    @gilbviz Рік тому

    Hello problem with mine is 9:24 , I can't apply my state Tree there... any help?

    • @l1sten-zh6cv
      @l1sten-zh6cv Рік тому +1

      in the DA_CrowdAgent select the statetree dropdown and create new statetree from there instead

    • @gilbviz
      @gilbviz Рік тому +2

      @@l1sten-zh6cv yes It worked for me but I'm curious why can't I apply state tree that we created earlier 🤣

    • @sascha.
      @sascha. Рік тому

      @@gilbviz Yeah, I like to know that as well.

  • @xdavis2919
    @xdavis2919 2 роки тому +1

    OK I waa sent here from your other video. I followed this one and now no characters spawn at all when I press play.

  • @du2836
    @du2836 2 роки тому +2

    Hi, thanks for tutorial, please tell if it is possible to update and modify zone graph in realtime.

    • @viperdkue5
      @viperdkue5  2 роки тому +1

      Sadly not atm, Epic may change that later on. I'm looking into if I can modify the engine source code to let it update in-game.

    • @du2836
      @du2836 2 роки тому +1

      @@viperdkue5 Thank you, very interesting how it will work in real time

  • @LocNgVIZ
    @LocNgVIZ Рік тому +1

    Thank for your tutorials, it works fine on 5.1. Just wondering how we can assign another animation/behavior of these characters, not just walking only.

    • @Zarrar2802
      @Zarrar2802 Рік тому

      I think you'd need to assign that animation through the character's Anim Blueprint

  • @ShonkV
    @ShonkV 2 роки тому +2

    just perfect

  • @zeon3d755
    @zeon3d755 2 роки тому +1

    Is it possible for mass AI to detect damage then send messages to regular AI?

    • @viperdkue5
      @viperdkue5  2 роки тому +1

      Mass AI is only for movement, so you can still use the BP Actors as normal ^^

  •  Рік тому +1

    Can you remake the video for Unreal Engine 5.2?

  • @shaanynaseer
    @shaanynaseer 2 роки тому +1

    How to do this with city sample vehicle? Will it work similar? Any help is appreciated.

    • @viperdkue5
      @viperdkue5  2 роки тому

      ua-cam.com/video/RRWr_Hnn5Bg/v-deo.html

  • @zeon3d755
    @zeon3d755 Рік тому

    Nice! Is it possible to make these MassAI to do daily tasks such as go to bed at night then wake up in the morning and go to work, then repeat.

  • @armannasr3681
    @armannasr3681 Рік тому

    I got a question. When you set this up, do they show up in sequencer as well? or only in play mode?

  • @chengshengjia1070
    @chengshengjia1070 Рік тому +1

    Hello, I followed with 5.2, there is the following error, how to solve it;
    LogMass: Error: Trait(MassCrowdVisualizationTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassZoneGraphNavigationTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassNavigationObstacleTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: Trait(MassObstacleAvoidanceTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassMovementTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassSteeringTrait) has missing dependency:
    LogMass: Error: AgentRadiusFragment
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassSmoothOrientationTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Trait(MassLODCollectorTrait) has missing dependency:
    LogMass: Error: TransformFragment
    LogMass: Error: Some traits are requiring the presence of fragments which are missing!

  • @CommanderColson
    @CommanderColson Рік тому

    What do we do if we dont want them to follow a spline, but rather follow the player?

  • @DanyMaorMico
    @DanyMaorMico 2 роки тому

    Excellent guide thanks, if I want to have more than one place where people go what do I do?

  • @gR22401
    @gR22401 Рік тому

    I wish the tutorial would explain why we are doing everything. Some of it was obvious, but some brief descriptions would be really helpful for learning.

    • @rboerdijk76
      @rboerdijk76 Рік тому

      I recommend following the official Unreal "Your First 60 Minutes with Mass" tutorial in addition. They explain a few details and if you did that one first, and then do this youtube tutorial you'll understand what is going on a lot better.

    • @gR22401
      @gR22401 Рік тому

      @@rboerdijk76 Gotcha. I have been holding off on going too deep with Mass since Epic has stated it won't be ready for actual game production (similar to systems like Chaos) for a few years.

  • @abhishekbasiwal3
    @abhishekbasiwal3 2 роки тому +1

    Hi I am new to unreal engine. and i wonder how can we add these crowd in level sequence and make a cinematic camera and render it. becauez the crowd only emits when we hit play button. what if we are making a short film and have to add crowd in a shot. how can we do it? Can't we emit crowd without hitting play button and add them in level sequencer so that we can render them. please reply if you can i am stuck in there, i don't know how to do it. thanks.

    • @dan2059
      @dan2059 2 роки тому +1

      Hey Abhishek, im also trying to do the same thing and stuck, did you find a way to get them into sequencer??

    • @abhishekbasiwal3
      @abhishekbasiwal3 2 роки тому +1

      @@dan2059 I got the solution. simulation will automatically trigger when we render it. we can't see it in the camera view while scrubbing in level sequencer but it will be shown in the final render.

    • @jobegruen4273
      @jobegruen4273 8 місяців тому

      @@abhishekbasiwal3thank you! So if we can’t scrub through it, then there would be no way to animate a car weaving through traffic without doing it in PIE, right?

    • @abhishekbasiwal3
      @abhishekbasiwal3 8 місяців тому +1

      @@jobegruen4273 Yes, Crowd will emit in final render only. Or maybe there is other workaround with blueprint but i have no idea about that as i am not that good in blueprints.

    • @jobegruen4273
      @jobegruen4273 8 місяців тому

      @@abhishekbasiwal3 that makes two of us! Thank you for replying!

  • @kgdllc
    @kgdllc 11 місяців тому

    As soon as I “Reparent” the skeletal mesh disappears and I receive different errors than the ones you show here. No good.

  • @videohelper2299
    @videohelper2299 2 роки тому +1

    Hi, thanks for this helpful tutorial. May I ask what can I do to assign another animation/behavior of other characters, not just walking behavior? I tried making a duplicate of the ABP_Crowd and change the animation but somehow it doesn't work. Thanks in advance for your reply.

  • @changtc8873
    @changtc8873 2 роки тому +1

    Hi master~ thx for the demo. I have a question for this simulation. Can we change the metahuman actors to other type of characters? Thank you

    • @viperdkue5
      @viperdkue5  2 роки тому +1

      Yes, you can use any character you want with Crowd, and any StaticMeshs if you use just the MassAI.

  • @Nano-Heizou
    @Nano-Heizou 6 місяців тому

    Do you have blueprint road? I try to find it few months ago, but still didn't find it yet.

  • @nazirullsafrypaijo5694
    @nazirullsafrypaijo5694 Рік тому +1

    Thank you. I failed at the first step where my blueprint have no hair, groom, moustache etc

  • @romanhorseman
    @romanhorseman 2 роки тому +1

    thanks for the tutorial

    • @viperdkue5
      @viperdkue5  2 роки тому

      Thanks.. Like 100's or 1000's, then yeah I would use MassAI for that, but you have to write your own c++ traits and use EQS

    • @viperdkue5
      @viperdkue5  2 роки тому

      Have a look at this ua-cam.com/video/w7zs7-oI2_I/v-deo.html

    • @romanhorseman
      @romanhorseman 2 роки тому

      @@viperdkue5 WOW! Thanks a lot! I wasn't know EQS. I'll do r&g for it.

  • @abludungeonmaster5817
    @abludungeonmaster5817 Рік тому

    Mass agent movement sync and Mass movement trait collide by adding the same fragment.

  • @michaelb1099
    @michaelb1099 28 днів тому

    i got this error Some traits are requiring the presence of fragments which are missing!

  • @nikwalz3429
    @nikwalz3429 8 місяців тому

    How is the performance of Mass when let´s say moving around 1000 agents and 10k agents?

  • @MonsterJuiced
    @MonsterJuiced 2 роки тому

    Does the zone have to be a closed circuit? I just wanted to create a single path that despawns NPC's when they reach the end and respawns them somewhere

  • @artofcode
    @artofcode 2 роки тому +1

    How come the MassEntityConfigAsset doesn't require a ZoneGraphAnnotation trait here?

    • @viperdkue5
      @viperdkue5  2 роки тому +2

      It is only needed for the Danger Annotation and we don't use that atm.. combined with the MassAI traffic, traffic can add a Danger Annotation to a Zone and Pedestrians will avoid that zone. Later on I will look at making my own annotations, but ZoneGraphAnnotation only comes with the Danger annotation build in..

    • @artofcode
      @artofcode 2 роки тому +1

      ​@@viperdkue5 Ahh gotcha, thanks.
      Any idea what would cause the peds to keep moving in their initial direction, but the mesh rotates in the direction the mass agent is moving in? When the ped comes to a corner, the mass agent debug panel moves along the path, and the mesh does rotate towards the new lane orientation, but keeps moving in the direction it was going. This makes it look as if the ped is walking sideways. Almost as if the velocity is not being synchronized from the Mass Entity to the actual ped.
      The three traits are setup identical as in the video (Capsule Collision Sync: No Sync Transform + Actor to Mass) / Movement & Orientation Sync: Mass to Actor.

    • @viperdkue5
      @viperdkue5  2 роки тому +2

      @@artofcode yeah, I have had that happen to, maybe try and set Movement sync to both ways and see it it helps..

    • @artofcode
      @artofcode 2 роки тому +1

      @@viperdkue5 Tried that, but didn't make a difference. Did some more digging and found out that the Character is in a falling state, causing the velocity that it receives to not be applied as we wanted (can't move forward if you're not touching the ground). So when I find out why it's not touching/detecting the ground, this will most likely be resolved.

    • @viperdkue5
      @viperdkue5  2 роки тому

      Okay, the sounds weird.. maybe try and change the capsule collision to sync transform, if you use the AIDebug and press shift G and select a character, you can see where the capsule collision is.

  • @ComeLordJesus
    @ComeLordJesus 10 місяців тому

    Thanks fort sharing. I have a question, why did you switched the LOD representation to High on all?

    • @viperdkue5
      @viperdkue5  10 місяців тому +1

      If you don't put it on high, you need to add a mesh with textureanimation, and it didn't really work at the time.

    • @ComeLordJesus
      @ComeLordJesus 10 місяців тому

      Thank you I appreciate!@@viperdkue5

  • @huseyincanguneli8030
    @huseyincanguneli8030 2 роки тому +1

    Amazing tutorial liked suscribed and hitted the bell :D.
    i really wanna adapt this to my project i'll try to change meta-humans with low poly models and gonna try to use this system for vr projects if its possible.

  • @UnrealVisual
    @UnrealVisual 2 роки тому +1

    Thanks for this amazing tutorial. Is there anyway to make this renderable in level sequence? How do I trigger this event?

    • @viperdkue5
      @viperdkue5  2 роки тому +2

      Yes, dont use the spawner but place actors by hand and add the DataAsset to MassAI agent in your Character BP

    • @UnrealVisual
      @UnrealVisual 2 роки тому

      @@viperdkue5 thanks I will give it a go👍🏻

  • @matthias7998
    @matthias7998 Рік тому +1

    A warning needs to be given to not run this on a (custom) city sample project. The suggested changes screw up the included crowd character which can't be repaired. It made my project unusable and now I have to redo the work of two weeks.

    • @LanD_87
      @LanD_87 Рік тому

      whatever happens we never do a test on a version without backup
      or you do the tests on a blank version I'm sorry for you

  • @silvanacrystal5759
    @silvanacrystal5759 2 роки тому

    i cant seem to figure out why but the mass spawner is not spawning anything

  • @T0mT4yl0r
    @T0mT4yl0r Рік тому

    Feet sliding at its best!

  • @bantichaudhary8818
    @bantichaudhary8818 Рік тому

    Groom elements are not showing in my project what should I do?

  • @sascha.
    @sascha. Рік тому

    What about the warning "Usage of 'SkeletalMesh' has been deprecated"? How can it be fixed in 5.1?

    • @sascha.
      @sascha. Рік тому

      Okay, that's fixed.

    • @dunne54321
      @dunne54321 Рік тому

      How??@@sascha.

    • @sascha.
      @sascha. Рік тому

      @@dunne54321 I finished that project about half a year ago. Sorry, I totally forgot what I did to resolve the warning.

  • @killer429
    @killer429 Рік тому

    Hello, what is the console command to stop UE5 from crashing? With the traffic simulator it's ai.traffic.parallelize 0, is there a similair command for the crowd?

  • @germantrovato868
    @germantrovato868 Рік тому

    I tried to solve the traits problem, following the link..but I can't find in the "CrowdAgent" editor the traits = Transform Fragments and Agent Radius Fragments".
    So the result is always the same, when I do Play nothing happens and it keeps reporting the Traits problem. I use EU 5.2

    • @genieeye5783
      @genieeye5783 Рік тому

      under"assorted fragments",add a new index. You'll see.

    • @germantrovato868
      @germantrovato868 Рік тому

      @@genieeye5783 Unfortunately it doesn't work, when I do Play no character appears and the message "some fragments are added by multiple traits and can only be added by one" appears.

  • @Cpt.Tripps
    @Cpt.Tripps 2 роки тому +1

    Great videos
    I'd be very interested in examples on how to use the system for more freely roaming AI, e.g. animals or horde of zombies. Is this system feasible for these applications?

    • @viperdkue5
      @viperdkue5  2 роки тому +2

      yes that's a good idea, use EQS in stead of zoneshapes, MassAI is perfect for that..

    • @AmorityCom
      @AmorityCom 2 роки тому +1

      @@viperdkue5 Could you please elaborate on this, or even make a tutorial? Thanks in advance.

    • @DLLDevStudio
      @DLLDevStudio 2 роки тому

      @@viperdkue5 any progress on your plugin?
      anyway, im willing to pay to get a mass ai zombie horde running, means like 1000+ zombies on screen / viewport with animations, collision, behavior and different "skins".

  • @QuasarEngine
    @QuasarEngine 11 місяців тому

    Marvelous, thanks

  • @wilismatrix9847
    @wilismatrix9847 Рік тому

    How did you learn all that, there is no documentation on it ?? it would be great if you explained what all those option are for and why you selected some specific stuff !

  • @olarenders9202
    @olarenders9202 2 роки тому +1

    thanks for this! working great. However.... holy shit, i wish it was a bit easier. If it wasn´t for this tutorial i wouldn´t have a clue how to get it working.

  • @PolyglotPlays
    @PolyglotPlays Рік тому

    i do not know if you still answer notifications but i need help: my mass ai system is working just fine but somwhere along the path the spawned civilians just dissapear, anyone know how to solve it?

  • @bartuyurtseven9516
    @bartuyurtseven9516 Рік тому +1

    I didint use 5.1 version. Someone any information about this ?

    • @viperdkue5
      @viperdkue5  Рік тому

      Enable Groom Plugin and then follow this pic : drive.google.com/file/d/1D1lPc-nIbJq7Q0xmC9Fh-q19nNv1JnCX/view
      Then it should work in 5.1