MacBook Pro 2017 // Metal Rendering // Black Flashes and Lines on Static Meshes
Posting this as a bug report as it seems the issue existed on previous Mac builds and now has carried into the newest 2017 Touch Bar variations.
GPU- AMD Radeon Pro 560. Forced using dGPU, Intel internal card is off.
When I start a new First Person project with starter content, all meshes and material are fine. Everything renders as expected.
If I open any materials and the engine has to recompile the shaders, any re-compiled shaders look like these:
The flickering increases and moves around as I move around the viewport. Issues also appear in PIE.
I was able to turn off "Use as Occluder" and saw some relief, but it pretty quickly started again, even when "Use As Occluder" was turned off.
2 questions here: 1) Is there a way to ensure it isn't my GPU? 2) What effect does turning off "Use as Occluder" have on a shipped game?
Thanks for reporting this.
It is due to a change in Apple's Xcode 9 Beta 'metal' byte-code shader compiler versus the Xcode 8 version, even when providing the same Metal shader text and compilation options. This will be resolved in a future version of Xcode and/or UE4. Until then please use the current version of Xcode (8.3.3 at the time of writing) - this is the sort of thing Betas are released to find.
answered Jul 21 '17 at 12:36 AM
You will need to upgrade to Unreal Engine 4.18 which includes a substantial refactoring of our Metal shader compiler to deal with the changes in Xcode 9's Metal bytecode compiler.
answered Sep 30 '17 at 07:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here