Timeline broken after using github
I’m attempting to set up my unity project on github. I created a repository using the standard unity gitignore supplied with github desktop. I cloned the repo on a second computer and opened it. There are a lot of error messages, but the unity file opens and everything works except the timeline. When I click the timeline nothing shows up in the timeline window, or timeline selector box. When I click the timeline in the project, there is an error saying the associated script cannot be loaded.
When I select the timeline in the hierarchy window. The playable director playable is showing as “none”. When I click on the playable director playable selector, I do not see main timeline as one of the options. Nor can I grab the main timeline file and drag it onto the button to assign it to playable.
Here's a link to a google doc with more information and pictures. https://docs.google.com/document/d/1UmtdmVLKEkR55PqZ-IXB8KwK1rgNz2l0ZzIPHrGcRmQ/edit?usp=sharing
Does anyone have any ideas what could be causing this? Thanks for your help!
Answer by Gillissie · Jun 11, 2020 at 06:05 AM
I've seen similar package manager errors when opening a project in a different version of Unity. Are you sure the second computer has the same version of Unity as the first computer that created the project?
That was it! I opened it in an old version first, saw that it wasn't working, then updated to the new version and it still didn't work. Your comment got my $$anonymous$$d thinking about the fact that I opened it up in the old version first, so it probably messed up the file. I cloned the project again fresh, then opened it with the matching version and it worked! Thanks so much for your help!