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

error CS2011: Error opening response file #72

Open
hedgehog08 opened this issue Mar 1, 2022 · 0 comments
Open

error CS2011: Error opening response file #72

hedgehog08 opened this issue Mar 1, 2022 · 0 comments

Comments

@hedgehog08
Copy link

Hello,

When running my Unity build in Teamcity with this plugin, I get this error message randomly:

-----CompilerOutput:-stdout--exitcode:` 1--compilationhadfailure: True--outfile: Temp/UnityEngine.UI.dll
[12:53:33] :		 [Compile] Microsoft (R) Visual C# Compiler version 3.5.0-dev-20359-01 (8da8ba0c)
[12:53:33] :		 [Compile] Copyright (C) Microsoft Corporation. All rights reserved.
[12:53:33] :	         [Compile] 
[12:53:35]E:	 [Step 3/3] error CS2011: Error opening response file 'E:\BuildAgent\work\e0c41da415e3c659\Temp/UnityTempFile-1d7c553d416173a4ab4daff9bec54196'
[12:53:33]W:		 [Compile] warning CS2008: No source files specified.
[12:53:35]E:	 [Step 3/3] error CS1562: Outputs without source must have the /out option specified
[12:53:33] :	 [Step 3/3] - Finished compile Library/ScriptAssemblies/UnityEngine.TestRunner.dll in 0.578464 seconds
[12:53:33] :	 [Step 3/3] - Starting compile Library/ScriptAssemblies/UnityEditor.TestRunner.dll
[12:53:33] :	 [Step 3/3] 

I'm using the latest version of Teamcity and the latest version of Unity Plugin. The version of Unity is 2020.3.11f1

Here is the command line that is launched by the plugin
"Unity.exe" -batchmode -projectPath E:\BuildAgent\work\e0c41da415e3c659 -executeMethod RailNet.Unity.Editor.Build.BuildHelper.BuildBundleDataBehaviour_Single -scene "Assets/Project Assets/Scenes/28-Bundle_Weathers.unity" -quit -logFile E:\BuildAgent\temp\agentTmp\unityBuildLog-9134106826043630149.txt

It seems that Unity get an error in the initialisation of Mono.

Thanks in advance!

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

No branches or pull requests

1 participant