Search Issue Tracker

Fixed in 5.3.2

Votes

2

Found in

5.3.1p1

Issue ID

759502

Regression

Yes

[Shuriken] Particles disappear after going offscreen and returning

Visual Effects - Legacy

-

Steps to reproduce:

1. Download and import attached project. (ParticlesDisappearing.zip)
2. Open scene: main.
3. Play.
4. Return to scene. (make sure you see particle system)
5. Move away from particles and come back.

Expected result: Particles are visible.
Actual result: Particles disappear.

Notes: Bug is only reproducible when particles have Delay time and Simulation space is Local. Reproducible in both game and scene views.

5.2.4f1: Particles appears instantly after returning. (Expected behavior)
5.3.0b1 - 5.3.0f4: Particles only appear after delay time when returning.
5.3.0p1 - 5.3.1p2: Particles does not appear at all.

Regression starts from 5.2.4f1.

Comments (3)

  1. TomZe

    Mar 26, 2019 20:33

    This lovely piece of logic seems to solve the issue most of the times :

    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;

    public class FixParticleSystem : MonoBehaviour
    {
    void Start()
    {
    if (gameObject.activeSelf)
    {
    gameObject.SetActive(false);
    gameObject.SetActive(true);
    gameObject.SetActive(false);
    gameObject.SetActive(true);
    gameObject.SetActive(false);
    gameObject.SetActive(true);
    gameObject.SetActive(false);
    gameObject.SetActive(true);
    }

    }
    }

    please don't make us use this ...

  2. lexi

    Jan 18, 2016 16:21

    5.3.0p3 - particles with local space do not appear at all (after instantiating from prefab). Same set to world space do appear.

Add comment

Log in to post comment