Instantiating ParticleSystem may result in pink appearance depending on timing of creation

When creating instances of a ParticleSystem prefab with a time delay as shown in the script below, the ParticleSystems created later may appear pink. The first instantiated ParticleSystem displays correctly.

    [SerializeField] private GameObject particlePrefab;

    private async void Start()
    {
        Instantiate(particlePrefab, new Vector3(0.5f, 1f, 1f), Quaternion.identity);
        await Task.Delay(3000);
        Instantiate(particlePrefab, new Vector3(-0.5f, 1f, 1f), Quaternion.identity);
    }

Is there any cause or solution?

Additional Information:

  • Environment: Unity 2022.3.15f1 + URP + PolySpatial 0.7.1 + Xcode 15.2
  • The issue does not occur in the Unity Editor but happens in the visionOS simulator.
  • The material used in the Particle System is ParticlesUnlit (Universal Render Pipeline/Particles/UnLit Shader).
  • I reported a bug with a sample project and the id is IN-66041

Thank you in advance.

1 Like

I forgot to mention that I use Bake To Mesh Particle Mode.

Thanks!

Thanks for the report! This is an issue that we’re aware of with the Bake to Mesh particle mode. It will be fixed in the next release.

1 Like

Hey, also running into this. Any info when this next will be?

Very soon! I can’t give you an exact date, but we are working hard on it presently.

1 Like