Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

cannot build to iOS: too many open files

Discussion in 'iOS and tvOS' started by laurentlavigne, Mar 2, 2016.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,994
    to isolate the problem I nuked all the .cs in this project (old project that runs and builds well in 4.7, runs well in 5.33 but no build)

    Error: Cannot create FMOD::Sound instance for resource library/metadata/03/03b32505144304438a89762c07c1d0b6.resource, (File not found. )
    UnityEditor.HostView:OnGUI()

    Exception: ExtractAssemblyTypeInfo: Failed to process /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll, System.IO.IOException: Too many open files
    at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00251] in

    Could not start compilationIOException: Too many open files
    System.IO.Directory.GetCurrentDirectory () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:259)
    System.IO.Path.InsecureGetFullPath (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:358)
     
  2. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi @laurentlavigne,
    Could you file a bug for this with the information you've posted here?
    Thank you!
    Chris
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,994
  4. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
  5. DanTaylor

    DanTaylor

    Joined:
    Jul 6, 2013
    Posts:
    119
    Posted a solution here! :D