Hello, I came across really unpleasant problem when using GPU particles. Mainly because it works well on PC but does not on Android cellphone neither on Android tablet.
Situation is following:
- Scene is being frozen by scene.freezeActiveMeshes
- There is GPU Particle system
- Texture file that is used by this GPU Particle system is used repeatedly
I have two playgrounds that I have created to reproduce that problem.
This works well - https://playground.babylonjs.com/#T18G6A#11
This does not work on my phone - https://playground.babylonjs.com/#T18G6A#12
The only difference in the second one is that file “textures/flare.png” is being used BEFORE GPUParticleSystem is created.
Somehow it seems like that after first usage of the texture, its source file is being “frozen” in some texture cache and it is ipossible to use this source file ever again.
The reason why I reported it to bugs and not to questions is that it works well on my desktop PC, but does not work on cellphone and I am sure that it cannot be desired behavior.
Result of the problem is that I am unable to use GPUParticleSystem as I need them repeatedly over time (which is result of the fact, that they cannot be stopped and reused again by design).
Thanx for some insight guys, I really appreciate your work even when I spent whole day to isolate the core of the problem
My phone is Samsung Galaxy A52s and tablet is Galaxy Tab A8