Thanks everyone for your suggestions so far.
Editor Versions
I can confirm CI and the editor versions are the same. Unity is pretty good about complaining when you try to mix editor and project versions.
We were originally on 2022.3.15f1
before this behavior started.
Our initial upgrade to Unity 6 was with 6000.0.23f1
. We later upgraded to 6000.0.28f1
in hopes that it would help.
I just tested through the CLI again in .32f1
and am getting the same failure.
.p4ignore
### Unity ###
/Assets/AssetStoreTools*
/Assets/UserSettings/
/Assets/UserSettings.meta
/Build/
/Builds/
/Library/
/Logs/
/MemoryCaptures/
/Recordings/
/Temp/
/Obj/
/UserSettings/
sysinfo.txt
### Random OS Stuff ###
.DS_Store
### Builds ###
*.apk
*.aab
*.unitypackage
*.app
### IDE's ###
.vs/
.vscode/
.idea/
/Assets/Plugins/Editor/JetBrains*
### Project Files ###
*.sln
*.csproj
*.user
### Shared Assets ###
/Assets/SharedAssets/
### WWise ###
/*_WWiseProject/.cache/
/*_WWiseProject/*.prof
/*_WwiseProject/*_WwiseProject.*.validationcache
/*_WwiseProject/*_WwiseProject.*.wsettings
/*_WwiseProject/**/*.akd
# Build temp dir
/Assets/StreamingAssets/
# WWise Picker (editor)
# from https://www.audiokinetic.com/library/edge/?source=Unity&id=unity__troubleshooting.html
# >> Do not keep AkWwiseProjectData.asset under version control!
# >> This is a temporary cache file for the Wwise project data,
# >> so as to avoid having the Wwise Picker continuously parse the Work Unit files.
/Assets/Wwise/Editor/ProjectData/AkWwiseProjectData.*
packages
do you have the Multiplayer Playmode package installed?
Also worth considering that an editor script may call AssetDatabase.Refresh while the editor is unfocused.
The project I’m running the CLI from has no packages installed. None of the scripts would be running anyway as the compiler error happens on startup.
Example
Here is a the full log of the command:
Editor.txt (52.5 KB)
I had renamed TestNewFile00.cs
to TestNewFile01.cs
just before running this.
What’s interesting is that the 1900b0aE-inputdata.json
file passed to bee_backend.exe
has the most recent filename (TestNewFile01.cs
) when I look at it after the CLI has run. So this feels like some caching issue, or a race condition in regards to that program. Like its reading an old version of the file before it is updated by unity.
The Tundra log (tundra.log.json.txt (65.2 KB)) looks like everything runs in order:
{"msg":"inputSignatureChanged","annotation":"WriteText Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.rsp" ... Assets/TestNewFile01.cs ...
...
{"msg":"runNodeAction","annotation":"Csc Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.dll (+2 others)","displayName":"Compiling C# (Assembly-CSharp)","index":4}
I haven’t really looked at any of these tools before, so I’m not really sure what I would be looking for either.
Anti-virus test
After trying to google tundra and bee_backend errors, I couldn’t find anything similar. Some people reported fixes after disabling their anti-virus. I tried adding an exception to Windows Defender for the project folder, still fails. I even tried disabling anti-virus completely, but still failed.