"Accessed None trying to read property ActorComponent" after closing and reopening the project.

Copied that exactly and still got an error, prints null.