I keep getting these errors every time I open Unity, it won't let me play or build my game and it messes up the URP and HDRP materials upon re opening the project.
![alt text][1]
[1]: /storage/temp/159499-capture.png
mind you both of the errors show **NO** information except for that visual c# compiler message
also, upon searching the editor logs I found these lines:
-----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.UI.dll
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
-----CompilerOutput:-stderr----------
The system cannot find the path specified.
-----EndCompilerOutput---------------
- Finished script compilation in 1.884409 seconds
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
which I think has something to do with it
----------
I've tried reinstalling unity, reinstalling visual studio, deleting everything related to unity (hub, registry keys, etc) off my computer and reinstalling, but to no avail.
If anyone has any suggestions that would be very helpful
Thanks in advance!
↧