[Solved] Sprite Particle System not working correctly when built on Android

Hi, I’m encountering a weird bug where the Particle System is displaying white boxes instead of the assigned sprites. And this only happens when built on a mobile device, as it works fine when run using the editor. I suspect it may be a shader related issue. Does anyone know what the problem is here?

Note that this for various reasons the Particle System game object is placed inside a Canvas Renderer (Screen Space Camera render mode with perspective camera).

(ignore the second particle trail)

Nvm I just found out what the problem was. The sprite for the Particle System was assigned on runtime on the material directly, but there was no material actually assigned on the Particle System on the prefab, hence something was messed up somewhere when Unity tries to assign the sprite to the default material.