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

Platforms: Does not work on Vision Pro Simulator #120

Closed
chihhsi opened this issue May 20, 2024 · 1 comment
Closed

Platforms: Does not work on Vision Pro Simulator #120

chihhsi opened this issue May 20, 2024 · 1 comment

Comments

@chihhsi
Copy link

chihhsi commented May 20, 2024

I was using Mac to build for Vision Pro Simulator and got the following error :
Shader error in 'Gaussian Splatting/Debug/Render Boxes': 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)
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)
Error building Player: 2 errors
Build completed with a result of 'Failed' in 13 seconds (12543 ms)
3 errors
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:493)
截圖 2024-05-20 晚上7 24 23
I was using GaussianExample-URP project and put GaussianSplats and Cube in scene.
I was able to build for the second time, but I could only see Cube in Vision Pro Simulator and GaussianSplats was not seen.

Hardware Description
Mac mini
M1, 2020
Sonoma 14.3.1
Macintosh HD

Software Description
Unity 2022.3.29f1 (Apple Silicon, LTS)
Xcode 15.2
VisionOS 1.0 (21N305 SDK)

Thanks for help

@chihhsi chihhsi changed the title Error in Vision Pro Simulator Platforms: Does not work on Vision Pro Simulator May 20, 2024
@aras-p
Copy link
Owner

aras-p commented May 20, 2024

This probably falls under the same "I have exactly zero VR devices around, and have spent zero time thinking about VR cases while doing this", i.e. #17. Gonna close this as duplicate of that one.

@aras-p aras-p closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
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

2 participants