Skip to content
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

window become gary in AppleVisionPro #5

Closed
chaoslife opened this issue Feb 27, 2024 · 8 comments
Closed

window become gary in AppleVisionPro #5

chaoslife opened this issue Feb 27, 2024 · 8 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@chaoslife
Copy link

Hi,
I created a new window and the effect was right in UnityEditor. When packaged into AVP, the window turned gray and had no blur effect, including other UIs that were different from those displayed in the Editor.

Did I forget to set it somewhere?

@chaoslife
Copy link
Author

my app mode is MR - volume

@ariestav
Copy link

@chaoslife When I go to "File > Run and Build..." everything seems to get built without errors, but all bitmaps (PNG) shaders, and even the environment do not seems to render at all. All I see is a gray background. Did you manage to get the demo to work?

@chaoslife
Copy link
Author

@chaoslife When I go to "File > Run and Build..." everything seems to get built without errors, but all bitmaps (PNG) shaders, and even the environment do not seems to render at all. All I see is a gray background. Did you manage to get the demo to work?

I can build successfully and run it in AVP, but the semi-transparent material of the UI is not supported and becomes opaque.

@JetNik JetNik added the invalid This doesn't seem right label Mar 18, 2024
@JetNik
Copy link
Collaborator

JetNik commented Mar 18, 2024

Hello, this package is for prototyping Vision Pro interfaces on other devices (Quest 2, Quest Pro, Quest 3). Our shaders do not work on Vision Pro device.
I recommend you to use Unity's Polyspatial package together with Apple's SwiftUI (the Polyspatal package samples have an example of linking SwiftUI with Unity) to achieve an interface like in Vision Pro system apps.
Maybe in the future we can modify our shaders to work on Vision Pro, but for now the Polyspatial package has some shader issues.

@JetNik JetNik self-assigned this Mar 18, 2024
@chaoslife
Copy link
Author

Hello, this package is for prototyping Vision Pro interfaces on other devices (Quest 2, Quest Pro, Quest 3). Our shaders do not work on Vision Pro device. I recommend you to use Unity's Polyspatial package together with Apple's SwiftUI (the Polyspatal package samples have an example of linking SwiftUI with Unity) to achieve an interface like in Vision Pro system apps. Maybe in the future we can modify our shaders to work on Vision Pro, but for now the Polyspatial package has some shader issues.

thanks reply

@ariestav
Copy link

@JetNik I still cannot get the shaders to work within Unity editor or player. I understand that this is about getting a prototype of a Vision Pro in a Quest. It makes sense. However, when I open in Unity, none of the textures nor the environment is showing. I have downloaded the repository for this along with the demo file. You can see from my attached image, that nothing is showing up. Any thoughts?

I do not know how to go about addressing error you see in the screenshot, but don't know if that's the answer to the issue of the textures / bitmaps (PNGs) not showing in the Unity editor or the player. Any tips?

Screenshot 2024-03-18 at 1 06 12 PM

@JetNik
Copy link
Collaborator

JetNik commented Mar 19, 2024

Let's continue in your issue in the demo scene repository at this link, I gave you an answer in that issue.

What about your error in the console: from a question in another repository, I understand that you are using macOS, and this error says that the Oculus XR Plugin needs DirectX11, which is only available in Windows settings. This means you probably can't build the same demo on macOS.

@JetNik I still cannot get the shaders to work within Unity editor or player. I understand that this is about getting a prototype of a Vision Pro in a Quest. It makes sense. However, when I open in Unity, none of the textures nor the environment is showing. I have downloaded the repository for this along with the demo file. You can see from my attached image, that nothing is showing up. Any thoughts?

I do not know how to go about addressing error you see in the screenshot, but don't know if that's the answer to the issue of the textures / bitmaps (PNGs) not showing in the Unity editor or the player. Any tips?

Screenshot 2024-03-18 at 1 06 12 PM

@ariestav
Copy link

@JetNik Ah! So it is thus a macOS issue, I may be able to try and build on a Windows system. I figured that if you are building a prototyping tool for an Apple device (Vision Pro) that it would work on Unity running on macOS. I will try Windows and report back when I find out more. Thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants