Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug (Case 1194500) Calling TrailRenderer.Clear() after Instantiate(), makes the bounds be incorrect.

Discussion in '2019.3 Beta' started by Kichang-Kim, Oct 28, 2019.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,018
    Hi. I found that the calling of TrailRenderer.Clear() immediately after Instantiate(), the bounds of TrailRenderer be calculated incorrectly and it makes the trail renderer be culled incorrectly too. It seems that only first frame has the issue and after second frames are rendererd correctly.

    Reproducible project was sent as Case 1194500.

    Also some of screenshots are attached. (the bounds of Renderer is shown as green wired cube)
     

    Attached Files:

    richardkettlewell likes this.
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,018