Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

warning: <x> FS.syncfs operations in flight at once, probably just doing extra work

Discussion in 'WebGL' started by Aurigan, Dec 21, 2016.

  1. Aurigan

    Aurigan

    Joined:
    Jun 30, 2013
    Posts:
    210
    I'm getting an old game running on webGL for the first time ever, using Unity 5.5p1. So far I have everything working but the (chrome) console every 8 seconds is spitting out 3 warnings:

    warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
    warning: 3 FS.syncfs operations in flight at once, probably just doing extra work
    warning: 4 FS.syncfs operations in flight at once, probably just doing extra work

    From a quick google search FS.syncfs appears to be something to do with the javascript / indexed db filesystem so presumably *something* is doing a file op 4x at the same time ... I have no idea what that might be though, still happens after disabling save games (which use player prefs).

    Has anyone seen this / have a solution for it?
     
  2. Arsinx

    Arsinx

    Joined:
    Apr 14, 2014
    Posts:
    47
    I recently built a game for webgl using 5.5 and i am getting the same warnings as soon as the unity logo appears after which it gets stuck there, if any one knows how to solve this issue it will be really appreciated.
     
  3. DSL-TailorIt

    DSL-TailorIt

    Joined:
    Jan 2, 2017
    Posts:
    6
    This warning also appears in my builds, although it doesn't prevent me from actually using my application.

    In my case I think it might have something to do with loading AssetBundles, but I haven't verified it yet.

    I worry more about warnings than actual errors, so if anyone knows something about this, I would be also be thankful to get some possible solution.

    Thanks in advance :)
     
  4. Aurigan

    Aurigan

    Joined:
    Jun 30, 2013
    Posts:
    210
    bump! getting this in a completely new game also
     
  5. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    794
    This seems to be harmless, we'll look into it though.
     
    Zaelot, DSL-TailorIt and Aurigan like this.
  6. Aurigan

    Aurigan

    Joined:
    Jun 30, 2013
    Posts:
    210
    Thank you - it DOES appear to be harmless in practice but vexing to have unneeded log spam.
     
  7. AzureByte

    AzureByte

    Joined:
    Apr 25, 2017
    Posts:
    1
    For me I think this is a symptom of another problem. I am getting random fps drops throughout the game while running a WebGL build in browser. No performance issues on mobile/PC builds
     
  8. 3DNewsman

    3DNewsman

    Joined:
    Nov 3, 2012
    Posts:
    7
    Bumping this. We've had it on our app for a long time, and seems like it would be helpful to get to the bottom of it.
     
  9. therealao

    therealao

    Joined:
    Feb 13, 2017
    Posts:
    5
    Bump, I've a feeling this is causing some performance issues. I'm only getting about 25% of the framerate of a native x86-64 build in WebGL, for a much smaller scene.. Any insight would be greatly appreciated
     
  10. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,415
    how many "FS.syncfs operations..." warnings are you seeing? just a few or a continuous flow?

    The gap in performance might be simply be caused by the fact that Unity WebGL is single-threaded at the moment.
     
  11. hromoyDron

    hromoyDron

    Joined:
    Jan 24, 2013
    Posts:
    40
    I have the same message (unity 2017.3)

    When I start using AssetBundleManager I see much more warnings

    What to do?
     
  12. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,415
    If everything works well, do nothing :)
     
    hromoyDron likes this.
  13. keeves_test14

    keeves_test14

    Joined:
    Dec 5, 2016
    Posts:
    6
    Hi, I'm using unity 5.6.3f3 and when I run webgl build I'm getting the following warning.

    warning: 2 FS.syncfs operations in flight at once, probably just doing extra work.

    I've AI player in my game,when AI turn occurs, the warning is occured and ai player can't take its move for this.Please help me to solve the issue.