This issue has only gotten worse with the latest software update. My WiFi barely stays connected at all now. My S10 is the only device on the network with this issue out of about 6-7 devices on average.
I had this same issue and started digging in the settings. Turns out my Private DNS was enabled and set to use google. I turned off this feature in Connections and now have working wifi again.
same issue here on my s10+
However there may be a connection.. not entirely sure..
my home router is Asus RT-68U (AI MESH enabled as i have 2 routers - upstairs & downstairs) and I also have my work using the EXACT same setup with same routers (across our company layout).. and you know what?? EXACT SAME PROBLEM. Anyways on the last post someone mentioned DNS issues and then I remembered i had the "AI protection" by Mcafee enabled.. so I disabled it and all other "safe guards" on that router and you know what! issue seems to have gone away....
I'm curious what routers people are having this issue with. so i dont know if that'd help anyway but it did for me.