Search Unity

File Not Included In Build That Is Created With Pre-Export Method

Discussion in 'Unity Build Automation' started by emrys90, Mar 23, 2017.

  1. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    755
    I am doing a Windows 64 bit build using the Cloud Build, but it appears to not be including a resource file in it. I have assigned a pre-export method that creates a new files and places it in the Resources folder to be included with the build. It's a text file that contains a list of all the files in the Resources folder so that I can load them in at runtime. Here's a log entry showing that it processed the new file I created:

    84630: [Unity] Updating Assets/Resources/Resources.bytes - GUID: 3d5580b7f8eec4914b0c825812d5b5d4...
    84631: [Unity] ----- Compute hash for Assets/Resources/Resources.bytes.

    So it looks like the file got created, and put in the appropriate place, and that Cloud Build recognized a new file and processed it. Any ideas why it wouldn't be in the build?
     
  2. pixelsplit

    pixelsplit

    Joined:
    Sep 16, 2013
    Posts:
    173
    Same problem here.