- Home /
Cannot load associated script when .meta file exists
Greetings.
I used a Unity-compatible .gitignore
file, committed the project to a new branch and made sure the .meta
files of the different scripts were committed too.
Even then I still get the "the associated script cannot be loaded after clone" error. I did Assets > Reimport
all too.
Edit: when I loaded back the original project folder (no files were changed at all!) the same errors occurred: Unity could not find some object and couldn't load the scripts. This behavior was observed on another machine using the original project files.
Many thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220613013315im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using git on scripts - Why do i have to keep setting project permissions on launching unity? 1 Answer
Is it safe to share .meta files of scripts across multiple projects? 1 Answer
How do you work on both Windows and Mac using git? 0 Answers
Single .gitignore for parent folder with multiple unity projects 0 Answers
No Git Executable Was Found 2 Answers