Hi All,
Thought I'd just share this. It isn't documented anywhere but in general avoid running a scene or allocing anything that uses OpenGL commands until the Director is attached into a window or view.
During the attaching process a lot of OpenGL parameters are setup and initialized. Without some of these it causes problems with gl commands. In particular if you add a texture through TextureMgr before attaching into a window/view the first texture will actually not be saved properly into the OpenGL state due to the glGetIntegerv command returning the minimum int value the first time through.
This could only be related to 3.1 or 3.0 but I think I've had this happen in 2.2.1 as well.