Missing Reference Scripts (...yeah I know)

So, we have been running a game for over 2 years now. We got some new employees which we installed them Unity and all they required.
For some reason, some random references, like 100+ references, are broken to some of the scripts in GameObject. I checked the files and we have the same ones with the same fileids and guids

1- They did a git checkout of the project.
2- We do have the option to show meta files and ForceText for the assets.
3- We do commit all the meta files with git.
4- We all have the same version of Unity 2018.2.21f1 (64-bit)
5- The scripts do exist and I can manually reference them.

We tried:
1- Deleting the Library Folder
2- Assets --> Reimport All
3- A bunch of desperate attempts that I don't remember

We changed nothing related to any project properties, we did not update anything in a long while, so I am not sure what is causing the problem.

Any help will be appreciated.

Do you have any code generation in your build?
What's in your gitignore?

[Ll]ibrary/

emp/
[Oo]bj/
[Bb]uild/
[Bb]in/
[Bb]in/
[Ff]acebook/
[Ee]xamples/

Autogenerated VS/MD solution and project files

*.csproj

*.unityproj

*.sln

*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.ide
*.ide-shm
*.ide-wal
*.vs/

BSLH2GameCore.dll.mdb.meta
BSLH2GameCore.dll.meta
BSLH2GameCore.pdb.meta
vNET.pdb.meta
VandalFramework.pdb.meta
VandalFramework.dll.mdb
VandalFramework.dll.mdb.meta

redis cache

WWW/COMMON/redis/.txt
WWW/COMMON/redis/
.json

Client/Assets/Main/BSLH2GameCore.dll
Client/Assets/Main/BSLH2GameCore.dll.mdb
Client/Assets/Main/BSLH2GameCore.pdb
ClientTester/BSLH2GameCore.dll
ClientTester/BSLH2GameCore.pdb
Server/BSLH2GameCore.dll
Server/BSLH2GameCore.pdb
WorkersManagementFramework
Client/Assets/Editor/BuildTools.dll
Client/Assets/Main/Scripts/VNET/vNET.dll
Client/Assets/Main/Scripts/VNET/vNET.pdb
Client/Assets/Main/Scripts/VNET/vNET.dll.mdb
Client/Assets/Main/Scripts/VNET/vNET.dll.mdb.meta
Client/Assets/VandalFramework/VandalFramework.dll
Client/Assets/VandalFramework/VandalFramework.pdb
Client/Assets/Editor/BuildTools.dll.meta
Client/Assets/Main/Scripts/VNET/vNET.dll.meta
Client/Assets/VandalFramework/VandalFramework.dll.meta
```

We have 3 DLL that are copied to the project (which we own the code)
BSLH2GameCore.dll
vNET.dll
VandalFramework.dll

Other than that, we do not generate any code.
```

I noticed this is due to a generated dll that we put in the project. For some reasons, it seems all guid coming from that dll are broken but only for some people. How are the guid generated for a dll?

So I finally found the problem. We didnt commit the meta of the shared project dlls between the client and the server which cause a bunch of errors for the new people. Even if we commit the metas, we are still not committing the dlls themselves (the ones we generate every build). It seems to fixed our problems.

1 Like

Glad you found the solution. Sorry the forums couldn't be of more help!