The same crash occured in the app i'm working on. Only on iOS 16. It seems like the reason for the crash is pushing a new view before the last view dismisses. In my case, it was dismissing a fullscreen cover and changing a tab in a tabview. Workaround that worked for me was,
Dismiss the cover view, and it's onDisappear change the tab. (Keep a state variable so tab change doesnt happen in every onDisappear)
The same crash occured in the app i'm working on. Only on iOS 16. It seems like the reason for the crash is pushing a new view before the last view dismisses. In my case, it was dismissing a fullscreen cover and changing a tab in a tabview. Workaround that worked for me was,
Dismiss the cover view, and it's onDisappear change the tab. (Keep a state variable so tab change doesnt happen in every onDisappear)