Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build task fail after unity-azure-pipelines-tasks update #279

Open
pea-web opened this issue Dec 9, 2024 · 1 comment
Open

Build task fail after unity-azure-pipelines-tasks update #279

pea-web opened this issue Dec 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@pea-web
Copy link

pea-web commented Dec 9, 2024

After updating the tool 2.9.3, 2.9.4, the build task began to fail. I read the errors section, but did not find the reason.
I can not understand the problem. Please advise what to do.

Part of the build log:
`
2024-12-09T10:48:35.3253062Z /additionalfile:"Library/Bee/artifacts/1900b0aE.dag/VCSP.App.UnityAdditionalFile.txt"
2024-12-09T10:48:35.3253461Z ##### Custom Environment Variables
2024-12-09T10:48:35.3253737Z DOTNET_MULTILEVEL_LOOKUP=0
2024-12-09T10:48:35.3254002Z ##### ExitCode
2024-12-09T10:48:35.3254207Z 1
2024-12-09T10:48:35.3254436Z ##### Output
2024-12-09T10:48:35.3254961Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(23,14): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3255569Z
2024-12-09T10:48:35.3256090Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(24,14): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3256402Z
2024-12-09T10:48:35.3256876Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(157,17): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3257515Z
2024-12-09T10:48:35.3258009Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(158,13): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3258332Z
2024-12-09T10:48:35.3258798Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(159,13): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3259201Z
2024-12-09T10:48:35.3259675Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(165,55): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3260140Z
2024-12-09T10:48:35.3260622Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(180,58): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3261131Z *** Tundra build failed (5.94 seconds), 3 items updated, 2427 evaluated
2024-12-09T10:48:35.3261601Z ## Script Compilation Error for: Csc Library/Bee/artifacts/1900b0aE.dag/VCSP.App.dll (+2 others)
2024-12-09T10:48:35.3262568Z ## CmdLine: "C:\Program Files\Unity\Hub\Editor\2022.3.1f1\Editor\Data\NetCoreRuntime\dotnet.exe" exec "C:/Program Files/Unity/Hub/Editor/2022.3.1f1/Editor/Data/DotNetSdkRoslyn/csc.dll" /nostdlib /noconfig /shared "@Library/Bee/artifacts/1900b0aE.dag/VCSP.App.rsp" "@Library/Bee/artifacts/1900b0aE.dag/VCSP.App.rsp2"
2024-12-09T10:48:35.3263512Z ## Output:
2024-12-09T10:48:35.3264139Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(23,14): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3264818Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(24,14): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3265505Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(157,17): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3266169Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(158,13): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3266848Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(159,13): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3267515Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(165,55): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3268328Z Assets\Dinomite.AzurePipelines\Editor\AzurePipelinesBuild.cs(180,58): error CS0103: The name 'Dinomite' does not exist in the current context
2024-12-09T10:48:35.3268644Z
2024-12-09T10:48:35.3268896Z Total cache size 267406316
2024-12-09T10:48:35.3269185Z Total cache size after purge 267406316
2024-12-09T10:48:35.3269350Z
2024-12-09T10:48:35.3269627Z Aborting batchmode due to failure:
2024-12-09T10:48:35.3269919Z Scripts have compiler errors.
2024-12-09T10:48:35.3270073Z
2024-12-09T10:48:35.5633941Z Error: Process failed "C:\Program Files\Unity\Hub\Editor\2022.3.1f1\Editor\Unity.exe" with exit code 1.

@pea-web pea-web added the question Further information is requested label Dec 9, 2024
@FejZa
Copy link
Member

FejZa commented Dec 12, 2024

Hi @pea-web, have you been able to resolve this? This is not an issue with the tasks itself but something in your project causes the build scripts package to not compile. The package has been verified against Unity 2022 so some side-effect must be causing this.

Check our Discord as other people had the same issue but were able to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants