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

Bug Build for iPhone failed due to the launch icon in build 10.3837

Discussion in '2020.1 Beta' started by yyylny, May 29, 2020.

  1. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    I keep getting those messages when attempting to build for iOS (iPhone) more than once:

    "Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option."

    and:

    DirectoryNotFoundException: Could not find a part of the path '/Users/me/Downloads/New Unity Project/Xcode/Unity-iPhone/Images.xcassets/LaunchImage.launchimage'.
    System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.Directory.InternalGetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.Directory.GetDirectories (System.String path) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.Directory.RecursiveDelete (System.String path) (at <fb001e01371b4adca20013e0ac763896>:0)
    System.IO.Directory.Delete (System.String path, System.Boolean recursive) (at <fb001e01371b4adca20013e0ac763896>:0)
    UnityEditor.iOS.PostProcessiPhonePlayer.UpdateInstallLocation (UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+IncludedFileList includedFiles, UnityEditor.Build.Reporting.BuildReport buildReport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:1479)
    UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:841)
    UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessorSettings postProcessorSettings, UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:656)
    UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:45)
    Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:49)
    UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:27)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:324)
    UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:433)

    It won't happen the first time I build (or if I delete the build folder and start over). If I change the compression of the launch icon to None, the first warning won't appear (even though it has never appeared in previous versions) but the second still occurs. I started a fresh new project with nothing but an image that I set as the default icon in Project Settings->Player. It also happens on another project.

    Using Mac running macOS 10.15.5.
     
  2. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Update: I sent a bug report to Unity and was told that this issue is already fixed in build 11. Admins: please delete this thread.
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Thanks for submitting a bug report for this issue! There's no need to delete the thread since it could still prove useful to other users who are encountering the same issue :).

    Have you tried b11 yet and checked whether the issue is fixed for you?

    Issue tracker link for reference: https://issuetracker.unity3d.com/product/unity/issues/guid/1251974/
     
  4. inchgames

    inchgames

    Joined:
    Jul 8, 2018
    Posts:
    7
    @LeonhardP same is happening in 2019.4 LTS. Any plans to fix there?
     
  5. yyylny

    yyylny

    Joined:
    Sep 19, 2015
    Posts:
    93
    Yes, it's all been fixed since build 11 :)
     
  6. UnityGuy1717

    UnityGuy1717

    Joined:
    Mar 20, 2020
    Posts:
    13
    I'm also seeing this error. We have to move to a 2020 beta to get this fix?
     
  7. spartan

    spartan

    Joined:
    Mar 10, 2010
    Posts:
    174
    We need a fix on Unity 2019.4 LTS!
     
  8. z0code0z

    z0code0z

    Joined:
    Apr 10, 2018
    Posts:
    38
    So the only option is to 'upgrade' to a beta version... any plans on fixing this for the LTS 2019??
     
  9. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    This should be fixed in the LTS as of 2019.4.3.