Lately, a lot of our builds have been failing, seemingly randomly… It’s mostly a gamble when I start our builds, some build and some don’t. Here are some of the errors we’re getting:
We’re using BitBucket for the git repository hosting. The URL of the repository was recently changed but it was updated on UCB. Some of these builds fail after a minute or two, others fail after more than an hour…
These are in fact internal issues that are being worked on. The above is a good indication of errors that aren’t reflecting a problem with your project, I will update this thread when these have been resolved.
8914: Slave went offline during the build
8915: ERROR: Connection was broken: java.io.IOException: Unexpected termination of the channel
8916: Caused by: java.io.EOFException
8917: Build step ‘Execute shell’ marked build as failure
8918: ERROR: Build step failed with exception
8919: Build step ‘Execute shell’ marked build as failure
8920: Problems occurs: nullBuild step ‘Execute a set of scripts’ marked build as failure
8921: Finished: FAILURE
We are having this same problem and it is causing serious delays that are costing us time and money.
Is there any update on this issue?
Same issue here tonight. Yesterday an Android build worked fine, today I added Mac64, Win64 and Win32 builds, now all 4 targets fail with the failed to update buildpack errors.
EDIT: I found out that my problem seems to be something different, so I posted the issue a new thread .
actual post (probably unrelated to this topic)
I also have this Issue (Unity 2019.4.8f1).
Here is my code:
using UnityEngine;
namespace TheraBytes.Boba.Engine
{
public struct AccessPointTransformInfo
{
public Vector3 Position { get; private set; }
public Quaternion Rotation { get; private set; }
public AccessPointTransformInfo(Vector3 position, Quaternion rotation)
{
this.Position = position;
this.Rotation = rotation;
}
public static implicit operator AccessPointTransformInfo (AccessPoint accessPoint)
{
return new AccessPointTransformInfo (accessPoint.transform.position, accessPoint.transform.rotation);
}
}
}
In the line public static implicit operator AccessPointTransformInfo (AccessPoint accessPoint) I get the error that AccessPoint could not be found, although it is in the same assembly and namespace (actually it is in the same folder as the posted class).
Here is the error from Cloud Build (line 880):
873: [Unity] (...)
/define:CSHARP_7_OR_LATER
874: [Unity] /define:CSHARP_7_3_OR_NEWER
875: [Unity] "Assets/_Scripts/Engine/Runtime/WorldObjects/AccessPoints/AccessPointTransformInfo.cs"
876: [Unity] /define:UNITY_CLOUD_BUILD
877: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/TheraBytes.Boba.Engine.dll
878: [Unity] Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
879: [Unity] Copyright (C) Microsoft Corporation. All rights reserved.
880: [Unity] Assets/_Scripts/Engine/Runtime/WorldObjects/AccessPoints/AccessPointTransformInfo.cs(20,67): error CS0246: The type or namespace name 'AccessPoint' could not be found (are you missing a using directive or an assembly reference?)
881: [Unity] -----EndCompilerOutput---------------
882: [Unity] - Finished script compilation in 0.723253 seconds
(...)
Note that the compiler is doing something with the class in between the define logs. That looks strange to me.
You shouldn’t have to do this but you could try explicitly adding the namespace to AccessPoint - e.g. TheraBytes.Boba.Engine.AccessPoint. Might also be worth doing a clean build just to make sure there isn’t any old assemblies that haven’t been updated properly. Other than that it looks good to me.