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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Missing Assembly References in Jenkins Builds

Discussion in 'Scripting' started by jaclark, Sep 20, 2018.

  1. jaclark

    jaclark

    Joined:
    Sep 29, 2014
    Posts:
    19
    Hey all, I'm getting some unexpected results when building through Jenkins. In the logs, we get a bunch of .dll's returning 'Compilation Failed', and a ton of corresponding assembly reference errors. For example:
    I've dealt with these errors plenty before, but this is odd -- these two scripts are in the same folder, using the same namespace, compiled into the same assembly, and I've double-checked that both exist in the project. It seems just like something gets totally busted. It happens to a ton of our assemblies, both 3rd party & our internal code.

    Here's the next odd part: the build actually succeeds! It seems like all of these errors happen before the build actually starts (perhaps just when launching Unity into batchmode), and then the build formally starts afterward, with no errors. It's great that it builds, but I'd like to figure out why this is happening -- it makes it difficult to see which errors are blocking builds, and if the builds are actually failing, etc.
     
  2. jaclark

    jaclark

    Joined:
    Sep 29, 2014
    Posts:
    19
    I moved this to Editor & General Support, since it's not really a scripting issue.