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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Default Preset application and Reset() method execution order is different when adding a Component via the Inspector versus calling Reset via the Component context menu
- Scene view is not outputting HDR when the "Use HDR Display Output" option is enabled, DX12 is selected as the Graphics API, and URP/HDRP is in use
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
shubhamswaraj2021
Aug 18, 2020 11:21
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
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 ...
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.