RenderThumbnail leads to FPhysScene crash??

Thanks, I did not meant the editor crashed.
I mean that if I launch the game with out editor, the game will crash because of my game code.