UnityGetGLViewController() not in the window hierarchy.

Hello guys,

I’ve developed a native iOS plugin that uses UnityGetGLViewController() to open a modal window. It was working perfectly fine so far.
However, after updating Unity to version 4.6, it started to show me the following warning whenever I try to open it:

Have anyone faced similar problem and is willing to share the solution?

Thanks in advance!

I’m also experiencing this warning/error. Anyone have any ideas here? I’ve noticed that this appeared starting from v4.6.1+, it was working for me (no warning/error) up until v4.6.0.