Chrome issue - [Violation] 'requestAnimationFrame'

HTML5 build in Chrome (no issues in other browsers)


a lot of messages in console, makes the game very slow.
any ideas?

I haven’t seen this myself, but it seems each frame takes too long (you get 88ms). Could it be your performance overall? What if you turn on the profiler?

I think it’s slow because of this console output.
There are no such issues in “release” build .

here is profiler screen in editor build

I think this is due to the glCheckError() calls we make in “debug” builds. These calls are notoriously slow in Chrome, which is why we remove them in our release builds.

1 Like