Building Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\GameAssembly.dll failed with output:

Yesterday the project was building just fine without any issues. Now when I try to build I get this error. Any ideas how to fix this problem?

ERROR I get:

Build completed with a result of ‘Failed’ in 92 seconds (91774 ms)
Building Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\GameAssembly.dll failed with output:
Creating library Library/Bee/artifacts/WinPlayerBuildProgram/y2vqe/GameAssembly.dll.lib and object Library/Bee/artifacts/WinPlayerBuildProgram/y2vqe/GameAssembly.dll.exp
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in ‘C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\pch-c-17832118928498857729.obj’; delete and rebuild; linking object as if no debug info
90huid0epi7f.obj : warning LNK4208: incompatible PDB format in 'C:\Unity projects\Project_Utopia_URP\Library\Bee\artifacts<message truncated>

Did you try deleting the Library folder? This often fixes a lot.
Make sure your project folder/drive is not protected by antivirus or ransomware protection.

I was seeing similar things because the AV was not allowing certain processes to write to the disk. It considered them malware or unauthorized processes.

Have you upgraded the project or using a newer Visual Studio version?

I’m facing the same problem, did u find a way to fix it
This is the error I’m getting after every build:
Building Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\GameAssembly.dll failed with output:
Creating library Library/Bee/artifacts/WinPlayerBuildProgram/y2vqe/GameAssembly.dll.lib and object Library/Bee/artifacts/WinPlayerBuildProgram/y2vqe/GameAssembly.dll.exp
libucrt.lib(checkcfg.obj) : error LNK2001: unresolved external symbol guard_check_icallfo
Library\Bee\artifacts\WinPlayerBuildProgram\y2vqe\GameAssembly.dll : fatal error LNK1120: 1 unresolved externals

Try deleting library folder, it fixed same things for me