Is there any support for SharePlay planned?
@AndrzejUnity anything you can share on this?
I’m not aware of any plans on our end to support SharePlay, but it’s certainly something we could look into.
If SharePlay is not being considered, how should we then go about creating collaborative experiences? This is something that’s brought up by pretty much all potential clients when we discuss Vision Pro.
Would you recommend looking into Netcode for GameObjects? Would that even work in this context?
I don’t see any reason why any Unity-based network solution wouldn’t work on visionOS, just as it would work on iOS.
Checking back.
yeah it would be awesome to get support for that
Is there any information about this?
https://portal.productboard.com/unity/77-unity-visionos-roadmap/tabs/272-mr-immersive-features
In the roadmap, there is no idea about SharePlay.
@IsaacsUnity
May I add an idea which is about supporting SharePlay on RoadMap?
Thank you for the feedback. We are currently tracking the demand for this feature. In the meantime, please share your feedback via Apple’s feedback assistant or other feedback channels as well.
Additional context in case it’s helpful - generally, Apple owns and maintains a repository of selected frameworks that are exposed to Unity developers. Specifically, SharePlay falls under the GroupActivities framework, which is not yet available as part of that offering, based on the latest documentation.
As a user, I too expect that there will be increased demand for this framework to be more widely accessible as SharePlay becomes even more tightly integrated with experiences on visionOS (considering the latest spatial personas beta feature). Any feedback you can share with Apple would be helpful as a signal for overall demand.
@IsaacsUnity since you mentioned the github frameworks provided by apple is it possible to specify which ones specifically work for polyspatial?
I don’t have any more visibility beyond the fact that most of the plugins have been updated for visionOS as recent as last month, so I would assume that it should be mode-agnostic. Regardless, it might be worth trying it out if there are relevant features you’re interested in and sharing the feedback with Apple.
If you’re willing to create a native plugin, and do some manual editing of your Xcode project, it is possible to get SharePlay spatial personas working in a Unity Polyspatial Vision Pro application.
The Happy Beam sample app has a working example of SharePlay Group Activities which is good jumping off point:
https://developer.apple.com/documentation/visionos/happybeam
I extracted just the SharePlay bits (removing the SwiftUI bits), and then bridged those Swift functions into Unity C# code… and it just sort of works. Note that Unity doesn’t directly support Group Activities, so I have been manually adding that capability and framework to the Xcode project after Unity generates it.
“sort of works” - are there any missing capabilities?
I have written a Swift script that supports Group Activity and called it in Unity to achieve SharePlay.
I understated how well it works. No missing features that I’ve seen. I was mainly being cautious because I haven’t used it extensively, and it’s not officially supported.
During my limited use, the main problem I’ve seen is that my content jumps away from all users substantially (like a meter or two) when the spatial personas group activity starts. I’ve tried setting the contentExtent to be smaller, but it seems to jump regardless. I’m not sure if I’m using the api wrong, it’s a bug in visionOS, or it’s a side effect of Polyspatial’s lack of official support.
I’d be curious to hear if others have this problem too.
yo this is rad. would you be able to share more?
You got some sample code?
Any tips on how to implement Shareplay like this, and does it work very well? Cheers!
Please share…
play
@Daktmc
Hey @Daktmc,
I am very interested in the steps to archive SharePlay integration in Unity.
Do you mind to share some advice or your script?
