CPUParticles2D is not running on html5 builds

Godot Version

4.3 Stable

Question

I am using the new Godot 4.3 stable release, I am using CPUParticles2D in my game. When I export the game to HTML5 the particles are gone. They are not running in any browser on any device.

I got it working for me on 4.3, did you enable Top Level in the visibility section of the particle?
(I figured that out using the answer here) GPUParticles2D appearing in editor, but not in game - #2 by FreakyGoose

1 Like

Thanks, but that didnā€™t work in my case. I am using CPUParticles2D. it doesnā€™t show on html5 build.

gl_compatibility renderer mode? what kind of particle you are trying to show?

yes, gl_compatibility renderer mode. just a simple blast effect, any particle configuration generates the same result for me, even the asset store particle projects arenā€™t working on web as well.

sounds like a bug then, have you tried on different browsers/devices

Ran into this issue just now. Appears to be an odd bug related to only AMD graphics cardsā€¦

Happening on GPU and CPU particle systems

A fix has been completed, but is not yet in an official release.

One of my CPU Particles did work in my game, and the other did not, which made me realize that one is using a custom texture and the other is just default stuff. I switched the broken one to use the default and it started working in the HTML build. However, it still didnā€™t have colors applied properly to it.

I tried on several different browsers and all had the same issue.

1 Like