I had that error message too. It comes because you have Editor Scripting functions in the Tick event. If possible remove the function from the Tick event otherwise you will get the error message in PIE, if the Editor Widget is open.
In my case I had the function “GetAllLevelActors” in the Tick event and in some GetText functions.
2 Likes