Accessed none trying to read property

I merged the folder that did work to the new project I used the skeleton and added the character mesh. I then added the animations and it works.