Does APV not support WEBGL platform?

When I converted the packaging platform to web and enabled the APV feature, an error occurred——Exception: Blitter is already initialized. Please only initialize the blitter once or you will leak engine resources. If you need to re-initialize the blitter with different shaders destroy & recreate it…

2 Likes

I never used Adaptive Probe Volumes, but according to this comment, they are not supported on WebGL

Maybe in the future when the WebGL standard has improved it may be supported.

2 Likes

APV is not supported by WebGL, it requires features that WebGL is not capable of.

It may be possible for WebGPU to support APV in the future, but it does not currently.

6 Likes

It would be good if this was informed in the editor instead of crashing.
Spent hours trying to find the issue with our project.

1 Like

Sorry for the lost time hunting the problem. I’ll look into getting it improved.

4 Likes

@NosTek @brendanduncan_u3d
Same here, I debugged countless hours. It would be better if there was a note in the documentation saying it is not supported.

Will webGpu support this?

Yes, we recently got it working with WebGPU, with the caveat that you have to disable APV streaming from the graphics settings due to it not working with the web player currently.

4 Likes

Sad. Did I miss some steps? I didn’t find the lighting effect of the APV after building it


——solution :melting_face:

1 Like

Maybe vertex mode isn’t supported yet?

It’s strange, I follow the news of the alpha versions of Unity every week and I haven’t seen anywhere that WebGPU has received APV support. Is this an oversight in the changelogs? (Ping @brendanduncan_u3d )

In any case, it’s excellent news!

@Zarbuz I haven’t made an announcement for it. Getting it to work was a matter of fixing a couple other bugs, and I haven’t done much testing of APV specifically yet. Consider this a “soft opening announcement” :slight_smile:

1 Like

I see :slight_smile: I’m in the starting blocks to test this haha

Hey there, I’ve just gone to implement APV into our WebGPU project on Unity 6.1 and get this error:

image

You mentioned there was a temporary work around, something about turning off streaming? I’ve had both of the streaming options turned off and it still does not work.

Thank you

APV has been successfully used with WebGPU in a number of projects. The key setting is:
Project Settings / Graphics / Pipeline Specific Settings / URP, enable Probe Volume Disable Streaming Assets since the streaming isn’t supported on web currently.

3 Likes