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

UCB Fails because of Standard Assets

Discussion in 'Unity Build Automation' started by chrisluttio, Apr 3, 2017.

  1. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    Hi,

    My UCB fails because it says there's some Standard Asset script that's missing something. The thing is, that doesn't even exist. I've deleted the file, I can build it on my machine. We never use whatever it's talking about. All builds fail all the time. I've never had a successful build. It says it's under Assets/Plugins/Standard Assets, that doesn't even exist. We have Assets/Standard Assets. And I even deleted the file in question under that path. So wtf is it doing?

    We are using Unity 5.5.2f1. iOS, Xcode 8

    Log:
    1: WARNING: missing .meta file: Assets/Art/Animation/09_Court/Scene15/Characters/Melvin@Melvin_scene15_mainAction.fbx
    2: [Unity] Initialize engine version: 5.5.2f1 (3829d7f588f3)
    3: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    4: [Unity] Compilation failed: 1 error(s), 0 warnings
    5: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    6: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    7: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    8: [Unity] Compilation failed: 1 error(s), 0 warnings
    9: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    10: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    11: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    12: [Unity] Compilation failed: 1 error(s), 0 warnings
    13: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    14: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    15: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    16: [Unity] Compilation failed: 1 error(s), 0 warnings
    17: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    18: [Unity] Assets/Plugins/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive?
    19: [Unity] UnauthorizedAccessException: Access to the path "/BUILD_PATH/chris-luttio.lylelittle-wip.default-ios/FishyTale eBook/FishyTale eBook.sln" is denied.
    20: [Unity] Scripts have compiler errors.
     
  2. SophiaC

    SophiaC

    Unity Technologies

    Joined:
    Sep 6, 2016
    Posts:
    238
    Hello,

    What are you using for your source control?

    Regarding the missing NavMeshAgent, make sure 'using UnityEngine.AI;' is at the top of your script.

    - Sophia
     
  3. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    We are using Perforce. I deleted that script in the Standard Assets. We don't use it or anything related to it. There's no AI in our product. That error doesn't show up when we build locally so I don't know why it's appearing there.
     
  4. SophiaC

    SophiaC

    Unity Technologies

    Joined:
    Sep 6, 2016
    Posts:
    238
    Have you tried running a clean build?
     
  5. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    I tried that recently. It still doesn't work... :(
     
  6. SophiaC

    SophiaC

    Unity Technologies

    Joined:
    Sep 6, 2016
    Posts:
    238
    I'm sorry to hear that :/

    Which Standard Assets did you import, and which did you delete?

    Please confirm that the deleted files have definitely been removed from the perforce workspace and that those changes have been checked in.

    - Sophia
     
  7. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    Yeah, the changes are in the depot. It's the general Standard Assets package, but I deleted the Character/ThirdPersonCharacter folder.
     
  8. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    I've made some changes to the project. I updated to Unity 5.6.0f3 and deleted Standard Assets from the project since we don't use them. I'm doing a clean build now to see if any of that does anything.
     
  9. chrisluttio

    chrisluttio

    Joined:
    Feb 29, 2016
    Posts:
    9
    Even with those changes the cloud build still fails. Local build works.

    The log is the same. It says there something wrong in Standard Assets, which doesn't exist in the project.
     
  10. RavenMikal

    RavenMikal

    Joined:
    Oct 18, 2014
    Posts:
    144
    If you look on the standard assets on the Unity store, you'll see messages of people for well over a year not able to get ANY of the example scenes to load.

    I tried all the ones with character controllers, and not one of them would work, and I was trying this on a completely fresh build on a fresh computer and unity installation. 5.6.5f1 is the version I'm on.