Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL exception: too much recursion / __Z24CreateDirectoryRecursive

Discussion in 'Unity 5 Pre-order Beta' started by any_user, Nov 14, 2014.

  1. any_user

    any_user

    Joined:
    Oct 19, 2008
    Posts:
    374
    Since b13 (last version I had previously installed was b11) I get the errors below when running a webgl build. It happens in all compile modes (fast, fastest, slow), right on startup. I found it in a project that mostly worked (with some other issues) in b11.

    In release builds this is the error:
    Code (CSharp):
    1. exception thrown: InternalError: too much recursion
    Switching to development build the log looks a bit more useful:
    Code (CSharp):
    1. "warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling" localhost:8888:63
    2. Module.printErr() localhost:8888:63
    3. Runtime.warnOnce() webgl-slow-dev.js:318
    4. demangle() webgl-slow-dev.js:979
    5. demangleAll/<() webgl-slow-dev.js:985
    6. demangleAll() webgl-slow-dev.js:985
    7. stackTrace() webgl-slow-dev.js:1006
    8. abort() webgl-slow-dev.js:3733388
    9. __ZN15FileSystemEntry3SetEPKc() webgl-slow-dev.js:1516692
    10. __ZN15FileSystemEntryC2EPKc() webgl-slow-dev.js:1516683
    11. __Z18IsDirectoryCreatedRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE() webgl-slow-dev.js:1523160
    12. __Z24CreateDirectoryRecursiveRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE() webgl-slow-dev.js:1307906
    the last line here repeats many times until the recursion limit is reached (I assume).

    I'm not sure what it means, but it seems to be related to creating directories. But I'm not accessing any files or creating directories.
     
  2. 2rusbekov

    2rusbekov

    Joined:
    Jul 12, 2013
    Posts:
    43
    I got same error on yield return www; when downloading bundles. other WWW requests working properly.
     
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Could you report a bug with a repro case on this?