[RESOLVED] Pause Player When Invisible vs. Pause Data Generation When Invisible

Hi Depthkit,

In the documentation, I haven’t found any information on my question, so I want to ask it here.

In Depthkit Studio Mesh Source, what’s the difference between:

  • Pause Player When Invisible
    and
  • Pause Data Generation When Invisible

I’m trying to optimize performance for a mobile build, using Unity Timeline, so it would be nice to pause visual calculation when camera isn’t looking at the clip, but not to pause the track on Timeline completely to keep timing synced when the camera looks at the clip again.

Do I understand correctly that for this I have to uncheck Pause Player When Invisible and check Pause Data Generation When Invisible?

Is there anything else I should be aware of in this regard?
Thanks

Thats correct. Pausing data generation means that the data source will not generate meshes, which sounds like what you are after.

1 Like