Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

build failed because of "export directory", what is this export directory?

Discussion in 'Unity Build Automation' started by NexusMedia, Oct 3, 2018.

  1. NexusMedia

    NexusMedia

    Joined:
    Mar 1, 2018
    Posts:
    5
    this is 2018.2.10f build, all i did was build project, no asset bundle built or anything advanced.

    what exactly is this "export directory"

    433: [Unity] Finished exporting player successfully.
    434: ! build of 'testwin' failed. ! build failed - export directory is empty!
    435: publishing finished successfully.
    436: Finished: FAILURE
     
  2. Coslab

    Coslab

    Joined:
    Sep 11, 2017
    Posts:
    2
    Did you find any solution?
     
  3. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    The export directory could also be called the output directory. It's where we are expecting your build artifacts to be, once the build completes. Since your build resulted in no files we have to assume that your build failed.

    "Export directory is empty" is not the cause of the failed build, it's a symptom of a build which failed. If you look up earlier in the build log there will likely be errors logged which caused the failed build.