myCamera->CreateDefaultSubobject(TEXT("My Camera")) and the editor crashed

I know the code is absolutely wrong.Just to report a bug.And Unreal Editor is really easy to crash because of such mistakes.

Hello,

Thank you for your report, but issues such as this are not issues with the engine itself. I saw the crash occurring, but the callstack indicated that it was a crash in my own code (which was expected, as you said, because of the fact that the code is incorrect). As a result, this is not something that we will look into fixing at this time.

However, if this is a regression (did not occur in 4.14) please let me know, as any change in behavior, especially new crashes, from version to version could likely be an issue.

Thanks