Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0f3
Issue ID
984284
Regression
No
[iOS] Skybox renders grey using specific shader on new iOS phones
Reproduction steps:
1. Open the attached project.
2. Play the 'Main' scene.
- Notice a black skybox with yellow clouds.
3. Build and run it on iOS device
- Skybox will be grey (screenshots attached).
Note:
Other objects render fine (e.g. cube between camera and skybox).
Reproduced with:
2018.1.0b2, 2017.3.0p1, 2017.2.1p1, 2017.1.3f1, 5.6.5f1
iPhone 8 iOS 11.0
Metal, GLES3
Not reproducible with:
iPhone 7+ iOS 11.1, iPhone 7+ 10.3.2
OR
GLES2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (2018.2.X):
half used in the shader in question do not have enough range for world pos, especially in the case of skybox where projection matrix is tweaked to push it as far away as possible (you can search inifinite projection matrix).
Simply changing WorldPos to float3 (and removing matrix cast to half4x4 in calculating it) fixes it