https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #2 from Vadim ptpzz@yandex.ru 2011-12-02 17:04:58 PST --- Probably this is a known bug with GL_EXT_TEXTURE_ARRAY in Unigine engines and glsl < 1.30. IIRR they are using the extension without enabling it in the shaders.
Disabling the extension completely with the environment variable should help:
MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array