I have Installed the following
- Installed Visual Studio 2022 (VS)
- Installed Unity Hub (UH)
- Installed Editor 2021.3.11f1 (UE)
Installation is working pretty okay- however once I want to open a new Project it fails at some point and Unity advices to enter it via Safe Mode to fix the issues.
When entering the application I see 97x the “The system cannot find file specified” message with no hint whats wrong.
Every single Error Message says the same. So I can’t really see what is causing the problem.
I tried so far (without success)
- to reinstall everything on a default Installation path
- I tried other versions of Unity
- I tried to Import a working Project.
- deleting all registery entries manually and reinstalling VS,UH,UE
I’m getting a little desperate, since the installation should be pretty straight forward.
edit:
- removed missleading Error message which is a Symptom but not the core of this problem.
- added editor logfile with errors (can be found in line (244 - 760)
[200858-editorlog.txt|200858]
After endless searches I found a similar problem - one User advices to delete a specific registry entry.
this worked for me.
I will leave a Link here for future Users
Broken Link http://answers.unity.com/answers/1712417/view.html
however, the link to the original solution is broken.
I found alternatives — Those describe the same/similar solutions.
https://forum.unity.com/threads/the-project-you-are-opening-contains-compilation-errors-when-creating-new-project.1368024/
or
https://www.reddit.com/r/Unity3D/comments/pnbgkh/compilation_error_while_creating_new_project/
This error usually means that you have renamed the class or the script and have not changed the other. For example:
public class AtomicItem : MonoBehaviour
{
Start () {}
Update () {}
}
but the name of the object in the project assets of unity is named BaseItem.cs
or anything else but it should be AtomicItem.cs
.
After you have renamed them to match, stop and replay (recompile) and it should work. If not, try saving your files and restarting. Also, watch out, if you have renamed the class but have not save you C# script, then the program will not reload the script since because it did not register as changed.