Recently encountered a very embarrassing problem, IPhone 6,iphone 5s and ipad Air 2 in these devices (other devices do not have =), in unity-generated IPA, some cameras are not rendered.
In fact, the Internet to find a circle basically a lot of people have encountered this problem, it should be 6 after the major rendering API updates, resulting in 6 and 6 of devices are not supported.
My side uses the Ugui,ui display scheme is the screen Space-camera,ui camera for the projection camera, Clear flags:depth only.
In the main city, it is perfectly normal to have only one UI camera and one 3D camera to capture the main and 3D characters.
But in the role interface, the UI camera is normal, an orthographic camera that shoots the background, the Clear flags:depth ony and the camera that photographed the character are not rendered correctly.
After countless attempts and packaging, found that the first line mentioned the few devices do not support metal, so the auto Graphics API removed, and then metal removed, replaced by OpenGLES3, this thing does not support the color space of the linear, So to change the color space to gamma, but this will cause some new rendering methods can not be used, so to communicate with the technical art, some calculations need their own in the shader.
Specific settings file, Build Settings, Player Settings->other Settings, select Auto graphics API, Graphics APIs only Opengle S3 (IPhone 5 should choose 2, it does not seem to support 3), Color space* Select gamma
Leave the rest to technical art
This problem foreigners have a lot of encounters, but seems to have not found the solution of Chinese, maybe later can see it?
P.S. Linear must use metal, if not the screen is all black and can not see. IPhone 6s and above devices can be used directly with metal + Linear
Above said not to render is not a hair, nor black screen, will render out some inexplicable residue.
The iOS minimum version of the above device is also 9.2, so the following operating system versions have not been tested. Unity version 2017.2
IPhone 6 and previous models, the unity part camera cannot render the problem