Problem loading 3d model in armv7

Hi friends,

I started an application which downloads the 3d model(the .obj file of the 3d model is developed in blender) from the server on a ios device. So far it is working fine by selecting the Target Platform* as armv6(OpenGL ES1.1) in a Player Settings.

Now my problem is i need to target both the architecture of ios(armv6 and armv7) when i select Universal armv6+armv7 model is loading fine but the model has become black this is due to not extracting any properties(material, light and texture).

Is this is a problem with 3d model or armv7 because the same 3d model is working fine in armv6 but not in armv7.

Now my questions are

  1. Is there any instructions for developing 3d model that suits for both armv6 and armv7???
  2. If there is an animation in the 3d model will it play on ios (because all 3d models as to be downloaded from server).

Any kind of help will be greatly appreciated.

Thanks in advance,

Unity iOS application when compiled for armv6 uses Open GL ES 1.1, which has no pixel shader support though has fixed function support. When compiled for armv7 it defaults to Open GL ES 2.0, which has pixel shader support and probably your shader is the one who causes problems. You can manually change default GL ES version for armv7 builds by editing AppController.mm in your Xcode project and changing line from:

#define USE_OPENGLES20_IF_AVAILABLE 1 

to

#define USE_OPENGLES20_IF_AVAILABLE 0