There is a strange thing in my unreal C++ project.
I created a SceneCaptureComponent2D based class in the editor, and added it to a StaticMeshActor in a level by “Add Component”. Then I writed some lines of code in the TickComponent function. According to my knowledge, the TickComponent function is only called when the play button is clicked. But in my project this function is called although the play button is not clicked. I clicked the play button, this function is also called. I feel really confused. Just like in picture below. I didn’t click the play button, but the break point in TickComponent was triggered.
Does any one have any idea about this phenomenon?