PIE crashes. I think it’s related to Steam Input somehow. I’d like to skip the Steam Input code if the game is PIE. Is there any way to check for that?
In GameViewportClient.uc there is bIsPlayInEditorViewport which you could probably use.
Thanks everyone. You pointed me exactly where I needed to look. I had something that was crashing PIE, but I was able to get around it by checking this:
class'Engine'.static.GetEngine().GameViewport.bIsPlayInEditorViewport
That seems like kind of a roundabout way to get to that variable, but it works and I only have to do it once.
WorldInfo.IsPlayInEditor()