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. Dismiss Notice

Particle System bug (Maybe)

Discussion in 'Editor & General Support' started by Kragh, Apr 25, 2016.

  1. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    654
    So I have a particle system attached to a character (as a child). When I teleport the character instantly via a script, the particle system renderer now seem to think it is not within the frustum. This was not a problem earlier (5.2 I think is the last time I saw it working, but it may be even longer). In 5.3.4 the problem was realized by me.

    I tested the renderer.bounds, and the renderer.isVisible, and the bounds don't update to the new location, and the isVisible is now false. Then, if I move the camera to the old location (you know, where the particle system no longer is), the particle system is visible again in the new location.

    Both these properties are read only, so my only solution is to trick it somehow. Any ideas out there? Tried to disable/enable the system, didn't help.
    I just need a hack to make the particle system realize its F***edupness.
     
  2. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    654
    Solved: Instead of disable/enable of the renderer, setting the gameObject to inactive, then active, worked.
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,793
    Can you report this as a bug so we can fix it properly ;)
     
  4. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    654
    I just made a small repro project, with only the essentials, and sent it as a bug ;)
    Case: 791794
     
    Last edited: Apr 26, 2016
    karl_jones likes this.
  5. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    654
    Could you maybe check if the bug even went through? I got a confirmation mail from Unity, and a link to track the status of the report, but when I click the link, I get this:

    Case not foundNo case was found associated with the ticket:
     
  6. ArachnidAnimal

    ArachnidAnimal

    Joined:
    Mar 3, 2015
    Posts:
    1,727
    You cant just click on the link because the auto-email has a problem with the link (I think there's a period at the end of the link). You have to copy the link and remove the period at the end of it.
     
  7. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,793
    Yes its being looked at by QA now. You should get a further email once they have finished.
     
  8. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    654
    Yup, the period was the problem. Thanks :)