Play game with mobile preview and save and compile(BP), game crashed

Hi epic:

I have upgraded engine from 4.5 to 4.6. And i also active save and compile(BP) setting of BlueprintEditor. But when i started game with mobile preview or standalone mode, game always crashed when blueprint editor wanted to save to temp directory after compilation it.

I traced to source code with debug editor mode. I found both GEditor and GUnrealEd is null, so game crashed with it’s value is null. I know that started game with mobile preview and standalone mode is a new progress. So i guess you guys has kick off editor module with mobile preview and standalone mode for improvement starting game speed, right? So how can i fixed it? Should i always disallow to save blueprint when starting game with both mobile preview and standalone?`Can anyone show me tips?

thanks.

zql.

Hey,

Thanks for report! I was able to reproduce this in 4.6, but it appears to be working correctly in our internal build so this should be fixed in 4.7. For now, disabling Save on Compile feature while working with Mobile Preview or Standalone Game is best way to avoid issue.