Oooof I actually fixed it…, I was just experiencing the same problem recently while reading this Forum, I tried almost everything on this board as well but doesn’t work and then I thought of the toggle issue from a computer tech / engineer perspective and some how it worked, so I think how it happened iirc, i switch off data for a game, ate too much data, phone broke down iPhone X iOS 11, bought new phone iPhone 12 iOS 14, backup old phone restore to new phone, this problem happens, game loads and then disconnects, only works on wifi, checked mobile data is normal and turned on, i tried checking with data off and the game complains no data, so technically the game can logon but then gets disconnected, ——- so the solution in this particular order, force close game/app and everything else, switch mobile data OFF for the game/app, force close everything including settings, may not apply but do it anyways just close everything, now do the volume up volume down and screen lock button and Switch phone off, wait a few seconds , switch it back on, go back to mobile data and turn it back ON for the app/game, and finally, launch your game —— problem solved and hopefully it works for you, good luck
the reason for having to force close everything is that in computer apps especially running softwares, after you change settings and then close the app, the settings are overwritten by the closing app again, like windows registry settings in most cases, so it might undo what you did when you do a toggle, I’m not sure if it applies here but that’s just a step extra I would normally do to troubleshoot problems.
I saw another query posted by someone else in here for a different issue, do the same thing,
force close everything, do the setting you need in the opposite of what it is or what it originally is, close everything, switch off the phone, turn it back on, apply the settings you want and then maybe reboot the phone again and then launch the app/ software
fixed it check the other post in here some where