How to fix "Sub-emitters must be children of the system that spawns them" when using Particle Prefab

Hi,

When i add the Fireworks prefabs from the ParticleSystems sampel assets then my console will be flooded with “Sub-emitters must be children of the system that spawns them” error messages.

If i play the game in unity itself then i do see the fireworks, but when i build the game i wont.

Does anybody know what to do with this error?

Thanks in advance!

I followed this video and the errors are gone then, but the firework does not show in the build game. It does however show in the “game” mode in unity itself