frostbone25 / Unity-Baked-Volumetrics

A work in progress graphics solution for completely baked volumetric lighting, meant to be very lightweight and inexpensive.
MIT License
201 stars 14 forks source link

Shader Errors (SceneVolumetricFog_LPPV - unity_ProbeVolumeParams) on Unity 2021.3.37 #5

Open Franziskus opened 6 months ago

Franziskus commented 6 months ago

Hello i try to build scene Volumetric fog for quest 2 & 3. The latest Meta SDK requiters me to us minimum Unity 2021.3.37 It works in Unity's preview scene

However when i try to create the final build I get the following errors

'SceneVolumetricFog_LPPV': undeclared identifier 'unity_ProbeVolumeParams' (on gles3) 'SceneVolumetricFog_LPPV': undeclared identifier 'unity_ProbeVolumeParams' (on vulkan) ....

Maybe I do something wrong. Scriptable Render Pipeline is: none so it should be Unity's build in I tried Vulkan and OpenGLES3 Get errors in both.

frostbone25 commented 6 months ago

It's erroring out on the LPPV shader version (Light Probe Proxy Volume) because when building for android LPPV support gets disabled by default. Honestly you can just remove it, especially for the quest version for the time being since you wouldn't be using such a thing on the platform (unless you explicitly are and force it to).

But I will work on fixing the issue so that it doesn't stop you from building on quest.