The casting feature ever sense I switched to Windows 11 seems to not work with alot of devices. It stopped working altogether on my Samsung TV, and switching over to a Firestick, it semi works, but takes a lot of trying, retries.
It seems to have the same behavior nonetheless. It detects the device, begins to connect, then errors out with "Something went wrong, your device couldn't connect."
Other users still on Windows 10 cast just fine to the TV, it seems to be only 11 users.