Crossplay in Dying Light 2 will – one day – allow you to play with friends and create multiplayer sessions between all available platforms.
However, Dying Light 2 crossplay is not available at launch. Until then, co-op between the same systems is – allowing you to play practically all of the game with friends, and keep your progression as you drop in and out of their sessions.