Search Unity

Director.PrepareFrame performance problem starting 2019.2.0f1

Discussion in 'General Graphics' started by peeka, Aug 5, 2019.

  1. peeka

    peeka

    Joined:
    Dec 3, 2014
    Posts:
    113
    Hi, I have some timeline that starts in middle of a game, and whenever I start playing a timeline. it seems to call Director.PrepareFrame -> ParticleControlPlayable.PrepareFrame->ParticleSystem.Prewarm->ParticleSystem.UpdateJob, and this loops through 10000-20000(this number gets bigger as my pool grow) calls to all different particlesystem module jobs which causes huge frame spike. I do have a pool with gameobject that has particle, but they are all disable when they are in pool.

    This never happen before I upgrade to 2019.2

    Any idea? sloowwww.PNG
     
  2. mushdevstudio

    mushdevstudio

    Joined:
    May 9, 2014
    Posts:
    37
    Hello, I am having this exact same problem since upgrading to 2019.2.11f1
    Screen Shot 2019-11-05 at 9.03.18 am.png