EGL_BAD_ATTRIBUTE on Adreno-based devices

I tried asking this in Unity Answers, but unfortunately got no reply. Maybe people in the forum can help me.

I tried to build our game on android and got EGL_BAD_ATTRIBUTE error on two different adreno-based devices (my HTC Incredible S and colleague’s LG Optimus Sol). They both have Adreno 205 GPU and on both devices I get past splash and then device freezes displaying grey screen. The phone starts to produce a lot of heat and the only way I can reboot it is removing battery.

I can’t say when exactly this error appeared(because couple months ago the game was working fine on both devices and since then I didn’t make any android builds) and that’s why I can’t really find the cause of this. The game works fine on iOS devices and Samsung Galaxy Tab(which has another GPU).

I could not find any specific information about this error, so maybe someone faced it? Or at least, what could cause similar problem?

Here, I attach DDMS screenshot in case I missed something important.

https://dl.dropbox.com/u/70897613/UNITY_ERROR.jpg

Sorry, the topis is closed. The cause was a shader which is used in NGUI for Hard Clipping. Switched to Soft.