Particle system doesn't work in Image target AR

ParticleSystem scale mode Hierarchy is not supported

Hello Saad Baig,

The issue you’re experiencing with the particle system in your Image Target AR project relates to the ParticleSystem scaling mode. As indicated in the documentation, using the “Hierarchy” scaling mode for a ParticleSystem is not supported in Needle Engine. This limitation is specifically highlighted in the source code where a warning is logged in case an unsupported scaling mode is detected:

const msg = "ParticleSystem scale mode " + ParticleSystemScalingMode[system.main.scalingMode] + " is not supported";
console.warn(msg, system.name, system);

To resolve this issue, you should switch the scaling mode of your ParticleSystem to a supported option, such as the “Local” or “World” scaling mode.

If you’d like to apply this change, you can modify the ParticleSystem configuration in the Unity editor, or directly in the code by ensuring that you set the scalingMode to one of the supported types before initializing the particle system.

Please make sure that your ParticleSystem does not depend on any hierarchical scaling, as that may lead to further issues down the road.

Feel free to ask if you need assistance on implementing this change or if there’s anything else related to Needle Engine that you’d like to know!

For more details on the ParticleSystem and its limitations, you can reference the Needle Engine API.

3 replies left
thread_qKLN5KredbO9ouWO7Ghx98Rp
Reply to this message to continue the conversation

Hello Saad, as the bot said we don’t support the hierarchy scale mode right now. Using a different scale mode would work for Android AR.

Please note that iOS Quicklook particles are not automatically exported right now - see this related topic for more information Particles in AR QuickLook

Thanks marcel.

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.