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

Platform: Apple visionOS with Polyspatial / Shader compilation error #124

Closed
PanoCAST opened this issue Jun 2, 2024 · 2 comments
Closed

Comments

@PanoCAST
Copy link

PanoCAST commented Jun 2, 2024

Thank you very much for developing this tool, we have used it extensively on multiple platforms, it works great.

Now, we would like to test it on Apple Vision Pro and place 3DGS elements in space using Polyspatial.
The scene works perfectly in the Editor, but when we build it it gives a shader error. Since your code
is already using Vulkan it maybe just a minor thing (also there are a few implementations already that
showcase 3DGS on the AVP, but not from Unity as far as I know)

Would you have any suggestion as to what the problem could be?

Shader error in 'Hidden/Gaussian Splatting/Composite': cannot assign to variable 'unity_StereoEyeIndex' with const-qualified type 'const int' at /Applications/Unity/Hub/Editor/2022.3.29f1/Unity.app/Contents/CGIncludes/UnityInstancing.cginc(187) (on metal)

Thank you for your help in advance

@aras-p
Copy link
Owner

aras-p commented Jun 2, 2024

This is probably the same as various "it does not work in VR!" issues on other platforms, i.e. #17. I have exactly zero VR devices around, and no knowledge how to write shaders for it. If someone who knows would contribute solutions/improvements I'd take them, but I don't plan to do it myself.

@aras-p aras-p closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
@random-yang
Copy link

@PanoCAST I encountered the same problem. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants