Beware! There's a bug in Sword/Shield that can crash your game if you receive a maliciously crafted Pokémon via Surprise Trade. It'll crash your game when you try to access online features (via Y-COM), preventing online interactions until a patch is released.

— Kurt (@Kaphotics) February 12, 2020