Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug with particle system in 5.3p1

Discussion in 'General Graphics' started by Honor-Code-Inc, Jan 6, 2016.

  1. Honor-Code-Inc

    Honor-Code-Inc

    Joined:
    Jul 1, 2015
    Posts:
    52
    Hi there,

    We are trying to switch to Unity 5.3p1 , but there's still some strange bugs related to Shuriken.
    When a particle system has a Start Delay higher than the Start Lifetime, the particles disappears when the system is offscreen, and never reappears.

    Bug report submitted : https://fogbugz.unity3d.com/default.asp?759502_10rlvp2r56rfjt57
    Video showing the bug (the blue PS starts with 0.5s delay and particles lifetime is 0.4s) : https://vid.me/NJt1
     

    Attached Files:

  2. PeteUnity3D

    PeteUnity3D

    Unity Technologies

    Joined:
    Jan 4, 2016
    Posts:
    68
    Hi Honor Code.

    Thanks for creating the repo scene. I had a quick look at the scene and managed to repo the problem that you've found. Unity QA have passed it onto the Dev team but there are a workaround you can do. There's a bug with the bounding boxes on particle systems and when the camera isn't looking at the particle effect it will cull it and then reemit the system when it comes back into view. The delay is making this fall over. To get round this in the example flare type of FX you have, you can either:
    • Remove the shape emitters on the particle systems (as they don't seem to be needed and will cause problems with the workaround) and increase the scale of the transform to something like 100 on all axis. This will make sure the particle system still sits comfortably with the camera.
    • Change the effect to a flare instead. This would actually be much more efficient and what i'd recommend for using if you're planning to build to mobile as each particle system will be a separate draw call unless you do some additional things later down the line.
    Hope that helps.
     
    karl_jones likes this.
  3. FunkStallion

    FunkStallion

    Joined:
    Nov 4, 2014
    Posts:
    22
    I'm seeing a similar issue to this with our particle effects (using 5.3.1p3)

    We are using and re-using our spot effects by turning them off and on when required, and if any effect has a startDelay > 0, it will play once then never again. Even with a fixed camera always looking at the effect.

    For example, we have a shield strike effect which consists of 3 ParticleSystem's as children of the same game object. 2 of them have startDelay > 0, the other has no start delay. All have playOnAwake ticked. The first time I enable the object, all three play as intended. But subsequent enablings of the object result in only the ParticleSystem with 0 startDelay ever appearing.

    No combination of scripting calls to ParticleSystem.Clear() / Stop() / Play() seems to get round this.

    Does this sound like the same issue, or should I submit a bug report?

    Thanks,
    Dave.
     
  4. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
    my version is 5.3.2f1
    I have the same problem with you, when the "Start Delay" more then zero, then I Pause the system in playing, and then Play the system again, it seems start count the "Start Delay" time again. Every Play after Pause, it alwayls recount the "Start Delay". Is this a Bug? In 5.0.1 doesn't has the problem.
     
  5. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
    can you tell me is it a problem above or I missed something? thank you!
     
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Whier you need to use patch 5.3.2p1 or greater.
     
  7. skylorder

    skylorder

    Joined:
    Apr 23, 2015
    Posts:
    16
    seems still occur in 5.3.2p4 :(
     
  8. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
    today I tried 5.3.3f1, it still has the problem I mentioned above. every version I tried later 5.0.1f1, it has the problem.
    what should I do to solve this or you guys have a look?
     
  9. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Can you file a bug report worth a sample project.
     
  10. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
  11. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
    Hi, I want to know when this bug can be fixed cause we now use unity5.0.1 which particle is ok, but another problem in 5.0.1 which shows chinese character as "???" on ios 9 devices. We are waiting for a version both problem is ok. Thank you!
     
  12. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
  13. whier

    whier

    Joined:
    Jun 11, 2015
    Posts:
    8
    OK, thank you for your reply. Hope this could be fixed timely.