Unity 5 dynamic fonts disappear in editor after window loses focus

Since updating to Unity 5 all my dynamic fonts disappear when running my game in editor if I lose focus of the editor and then regain focus. This is something new and buggy with Unity 5 as it never did this in previous versions (such as Unity 4.6.4).

So while I wait for the core of the problem to get fixed by Unity, I am trying to find a patch for it in the meantime. I thought that I might be able to call some code to refresh the font within an OnApplicationPause() function. However, we need to run our game with Application.runInBackground = true in Editor so that our coroutines and loops continue running while we work and debug things. When this is set to true apparently no OnApplicationPause() functions get called when the editor loses/regains focus - because the game never actually pauses.

So, are there any other events/callbacks that I can hook into for when the editor loses and regains focus? They can be editor-specific if necessary. Clearly the editor itself is using some kind of callback that “breaks” the fonts when the editor window regains focus, but as far as I can find there is nothing I have access to for triggering code at the same time. Does anyone know of something that might work?

And of course, does anyone know what the actual problem is with the dynamic fonts in the first place?

The same problem in IOS and Android already on the devices.