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. Dismiss Notice

Failed to compile player scripts 2018.4.14f1

Discussion in 'Addressables' started by duartedd, Dec 14, 2019.

  1. duartedd

    duartedd

    Joined:
    Aug 1, 2017
    Posts:
    148
    When i build through the play button it works fine - when i build i get a bunch of assembly reference errors - just doing remote build to serverData/[BuildTarget] which is set to Android right now.

    seems to be that script and another one ( the other one affects shaders)...does it have something to do with the build script compiling things in a different order then the play button or something?


    upload_2019-12-13_21-48-51.png

    upload_2019-12-13_21-49-22.png

    upload_2019-12-13_21-53-44.png


    thanks!
     
  2. duartedd

    duartedd

    Joined:
    Aug 1, 2017
    Posts:
    148
    Fixed - move the non runtime files(scripts) to editor folder
     
    AskCarol likes this.
  3. k3ndro

    k3ndro

    Joined:
    Dec 8, 2016
    Posts:
    28
    Hi @duartedd , what are examples of non-runtime files?
     
  4. AriyaSD

    AriyaSD

    Joined:
    Nov 2, 2019
    Posts:
    24
    Anything that uses classes and methods from namespaces that are not available in builds, such as custom inspectors.