Unreal crashes even after the pointer protection

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.

Error from UE

The line with the problem

Any advice?
Thank you in advance, Tiberiu.

That would crash if an overlapping actor doesn’t have a UPrimitiveComponent

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.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms