I have unexpected weird situation on my webgl build.
1.I got extremely low FPS (<20 FPS) on startup
2. Once I resize window. , I can get normal FPS (60 FPS)
3. This happens on Chrome of my some computer on my office. On FF everything is working fine.
I investisgated the console log and found that I got
endless [Violation] ‘requestAnimationFrame’ handler took ms for every frame
on the log when I get low FPS.
When I resize the chrome window, the performance get back to normal and I got 60FPS with all the requestAnimationFrame violation warnings gone.
I tried some combination to solve this but no luck yet.
- It’s not the script. I tried empty project with one 3D humanoid with simple animation (no script in the project), but same happens.
- I tried.almost every build option combination including NET4, .NET3 scripting runtime , linear, gamma, quality settings,wasm, asm.js but had same result.
- I tried Unity 2018.2.15 ~ 2018.3 , but had same result.
- I tried on 10 computers (Mac, PC), and I got 3 of them (1Mac, 2PC) have violation message and extremely low FPS.
*Chrome version is 71.0.3578 (the latest)
Any idea for me to solve this?