UnityGaussianSplatting: Platforms: does not work on OpenGL ES (Android, WebGL, Quest 2 etc.)

Hi, Thanks for the awesome project. I could run it via OpenXR and Quest Link (tethered to my desktop computer with a 3090), but when I try to run it on Quest standalone and build an apk, I get 50 errors regarding the shader files like this:

error in 'Gaussian Splatting/Debug/Render Boxes': 'asfloat': no matching 1 parameter intrinsic function; Possible intrinsic functions are: asfloat(float|half|int|uint) at Assets/GaussianSplatting/Shaders/GaussianSplatting.hlsl(469) (on gles3)

Has anyone succeeded in running Gaussian Splatting on Quest standalone? Thanks

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 21 (5 by maintainers)

Most upvoted comments

using the standard OpenXR features, the camera is only rendering 1 eye @Zulex @jacemiller

I fixed this by changing ‘Render Mode’ to Multi-pass under Project Settings > XR Plug-in Management > OpenXR.

@electrum-bowie I edited your post to make it shorter. And yes, that’s exactly the error mentioned at the beginning of this issue. But until either someone contributes a fix, or I get a VR device (which is unlikely to happen), it will stay like that.

Shader error in 'Gaussian Splatting/Debug/Render Boxes': no matching function for call to 'asfloat' at Assets/GSPLAT/GaussianSplatting/Shaders/GaussianSplatting.hlsl(527) (on vulkan)

Exactly what I’m getting when I try to run on Quest 2