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

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,011
    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,011