Failed to Build it seems like (System.Memory.dll not allowed to be included or could not be found)
ArgumentException: The Assembly System.Runtime.CompilerServices.Unsafe is referenced by System.Memory ('Assets/Plugins/System.Memory.dll'). But the dll is not allowed to be included or could not be found.
Extracting referenced dlls failed.
Building Player failed
Component GUI Layer in Main Camera for Scene Assets/Scene/scene.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
Failed to build player.
Exiting without the bug reporter. Application will terminate with return code 1
Full Editor.log: Editor.log