UCB Fails because of Standard Assets

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.

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

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.

Have you tried running a clean build?

I tried that recently. It still doesn’t work… :frowning:

I’m sorry to hear that :confused:

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

Yeah, the changes are in the depot. It’s the general Standard Assets package, but I deleted the Character/ThirdPersonCharacter folder.

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.

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.

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.