I did all the protection in code for every pointer, but it still crashes when I press play and it shows that the problem is on line 65 in the opendoor.cpp file. I get the same issue with the physicshandle.
Fixed it with your help from another problem. The problem was me working on the wrong files. When I converted the project from 4.21 to 4.22 I didn’t knew new files are gonna be created and kept opening the Visual Studio with the old files.