I made a change. When i stop the PIE while is emiting on update the editor crashes
added this line if (!NativeClient.IsValid())return;