1
\$\begingroup\$

I'm trying to profile my game, this is a webgl game, and the browser forces vsync.

My problem is, when I disable vsync in unity I get a pretty smooth profiler, while with vsync I get huge spikes.

I cant tell if this is an editor issue or this spikes exist in the webgl version as well (I do have stuttering when playing in the browser, but cant tell if these spikes are the same ones)

I don't display the WaitForTargetFPS in profiler as it is not interesing.

no vsync: enter image description here

with vsync: enter image description here

Any ideas friends?

\$\endgroup\$
1
  • \$\begingroup\$ Which methods take significantly longer in the spike samples than on other frames? \$\endgroup\$ Commented Aug 26, 2019 at 18:15

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.