Search Unity

Unity Cloud Build will fail without error

Discussion in 'Unity Build Automation' started by edo_m18, Mar 23, 2021.

  1. edo_m18

    edo_m18

    Joined:
    Nov 17, 2014
    Posts:
    12
    Hi,

    I'm new to Unity Cloud Build. I'm trying to build our project on Unity Cloud Build but the service always fail without error.

    The last log is below. (I also attached the full log file)

    ```
    20349: Unity ran in '2422.53562' seconds
    20350: ! Unity player export failed!
    20351: ! build of 'oculus-quest' failed. exit
    20352: Publishing build 8 of 15668081132819/5678b972-b0d7-4f79-bad1-1f4ba604ae1c for target 'oculus-quest'...
    20353: Zipping cache files from Library
    20354: done.
    20355: publishing finished successfully.
    20356: Build failed. Please check the log for further details.
    20357: Using /BUILD_PATH/.rvm/gems/ruby-2.4.2
    20358: postbuildsteps finished successfully
    20359: postbuildstatus finished successfully.
    20360: Finished: FAILURE
    ```

    I'm wondering why the log has no error but the service will fail.
    I've seen other type of errors like "! build of 'oculus-quest' failed. compile error", but my log doesn't show any reasons. Does anyone have where do I start search point? What should I start searching with words?

    This project can build on locally. I don't know why the project can't build on the cloud.
     

    Attached Files:

    • ucb.txt
      File size:
      3 MB
      Views:
      263
  2. Quantexlda

    Quantexlda

    Joined:
    Nov 7, 2017
    Posts:
    7
    Try to pull your project into a new folder on your computer and rebuild it locally. It sound like some meta files are not pushed into your UCB project and could explain
     
  3. edo_m18

    edo_m18

    Joined:
    Nov 17, 2014
    Posts:
    12
    Thank you for your comment. I've already tried it. You mentioned "Oculus" folder's meta, right? It'll be created by shell script as a symbolic link, so I can't create it locally. I have to make the symlink with the shell script. Is it the reason to fail build? I read an article to explain to use a shell script that I refer to. The article tells us that the script can use on Unity Cloud Build. I think it's not the reason.