Maybe yours project base on C++ and you create static pointers and you didnt create a function to reset this pointers to nullptr during runtime, when project is running.
When you run project from editor then during first run everything should be fine, but when you run again then in memory can be old references to something what not exist anymore.