The game cracshes on JoinSession function

I don’t know have but I fix it :smile:
The actions I did:

  1. I deleted SessionSettings->bAllowJoinViaPresence & SessionSettings->bUsesPresence
  2. As @UnrealEverything said I changed UniqenetId function
  3. As @GarnerP57 said I added IsSessionInfoValid condition
  4. In the ProjectSettings->AssetManager->Primary Asset Types To Scan I added Maps and map directories

And when I tried again it was working fine and now I am able to join to my other device with out any problem.

Thank you all