I recently started encountering a bug in the teambuilder where the Pokémon in my teams would automatically be removed after I click on the team. So far I’ve only had this happen on mobile, so my teams on PC are safe. It doesn’t seem to matter weather I’ve uploaded the teams to the server or not, nor does it matter the format.