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
- [Build Profile] [VisionOS/iOS/tvOS] - Build Player Library button is getting displayed depending on the selected build target
- EnsureRunningOnMainThread error in TessellationJob.ApplyInset
- MultiColumnListView causes a memory leak when repeatedly shown and hidden
- Position Node with Object Space has a wrong value when there are multiple active GameObjects with the same shader
- [URP][RG] Fullscreen blit is not working when Render Graph is enabled
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