MacOS: Git and Rider problem

So at the end something I did which fixed it is making a new project and pass everything along. Now it can include the dependencies.

  1. Made a project with same name outside “Unreal Projects” so they wont collide with each other.
  2. Then passed the scripts and compiled.
  3. After that I closed the project and sent the files form content to the new one.
  4. Before opening, I made a tmp directory outside of “Unreal Projects” and moved the old one there and and new one to “Unreal Projects”.
  5. Finally opened and everything worked the same.

[!Warning]
My order of moving prevents the following from happening.

If you just make a new one with new name or keep it outside where your original project path is.
AND IF you use Blueprints, you will need to setup the values again if you where calling structs, enums, etc. inside or it will tell you its invalid type or not exist.

I still don’t know why that problem happened, but I hope this helps anyone.