You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
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.
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)
I was using
GaussianExample-URP
project and putGaussianSplats
andCube
in scene.I was able to build for the second time, but I could only see
Cube
inVision Pro Simulator
andGaussianSplats
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
The text was updated successfully, but these errors were encountered: