-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for VisionOS #188
Comments
Bump. I'd also like to see this. There's a couple of lines in the code where only iOS, tvOS and macOS are being checked for. I guess if these lines were modified to include visionOS as well, it might work out-of-the-box. |
Ok. I tried to patch the library in my fork: https://github.com/marblear/apple-signin-unity/tree/visionos Turns out that modifying the OS-specific conditional compilations was not enough. It seems as if the PolySpatial app delegate has to be patched as well. I get a runtime error that it does not accept a certain selector. |
Yep. I actually had to get an M3 macBook just to do that. Which is silly, but was the only way. |
Are you suggesting that Unity needs to make some kind of change? Do you have any further details (remember what the specific error was / have a stack trace?) |
Same request, marked |
Hey guys, I've successfully make it works in VisionOS, but seems I can't create PR for this repo, I modify it in my own fork. |
Update: I'm able to create PR for this repo |
@lupidan it would be great if you could take time to review my pr |
Hi everyone, I’m using version v1.4.4 of this plugin to support Apple Sign-In for my VisionOS application. I implemented login functionality by directly incorporating the MainMenu from the example scenes into my VisionOS scene and added the PressedAppleSignInButton method to handle click events for logging in. However, when building for Vision Pro, I encountered some errors. It seems that the UnityPolySpatialAppDelegate does not implement methods related to window. Below is the Xcode console output during the app’s runtime:
Uncaught exception: NSInvalidArgumentException: -[MyTestProject.UnityPolySpatialAppDelegate window]: unrecognized selector sent to instance 0x303d2bc20
|
@ZacharyLiu6 Can you provide a repro project for the issue you are mentioning? |
Any plan for VisionOS support?
The text was updated successfully, but these errors were encountered: