UIScene based state restoration on tvOS not working

I can’t get UIScene-based state restoration to work on tvOS as it does on iOS.

UISceneSession.stateRestorationActivity is always nil in UIWindowSceneDelegate.scene(_:willConnectTo:options:) despite UIWindowSceneDelegate.stateRestorationActivity(for:) being called in the previous lifecycle.

The NSUserActivityType is correctly configured in the Info.plist.

Has anyone encountered the same issue or knows how to get this to work?

Sample Project https://github.com/antiraum/tvosSceneStateRestoration Feedback FB20451479

Thank you for submitting your feedback report this morning. Your report is comprehensive and well-structured. We appreciate your patience as the engineering team will utilize your code to reproduce the issue. They will be in communication with you via the feedback assistant link.

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert Pascual
  Worldwide Developer Relations.

UIScene based state restoration on tvOS not working
 
 
Q