Opening a project since 40.10 does not compile shaders

Summary

Shaders wont compile, tested 4 projects, if I press ok on the popup uefn closes.. Logs were sent

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Other

Steps to Reproduce

Not sure

Expected Result

Shader loads

Observed Result

Shader error

Platform(s)

PC

Island Code

6570-5231-1418

Upload an image

hi ,

Metal shader fail for iOS Apple iPhone when trying to create Cinematic stream

Works on Android, Preparing Shaders successfully . Works on NS1 and PC

Metal Shaders are Apple IP for iPhone and therefore fails in Mobile Emulator for any Apple device

image (7)

Metal Shader Format is Apple IP

possibly look at Launching the project on a real iPhone so that the phones packaged shaders are loaded back to UEFN.

See

What is the shader format for Metal shaders shipped with iOS applications? - Game Development Stack Exchange

Quote from above link

They’re compiled into a proprietary format (LLVM-based, device-agnostic intermediate language) that is not publicly documented. This happens as part of the build process, by default; the Xcode toolchain has a build rule to take Metal source files, compile them, and shove the output .metallib into your application’s bundle someplace. Apple’s documentation covers this in more detail.

Lets hope that will help Epic Support.

There is another problem that Apple has different licences of Europe and the USA, which may again be a problem.

1 Like

FORT-1083250 has been ‘Closed’. We’re unable to reproduce this issue.

This is a consistent and frequent issue, since v40.30 I can confirm I am also getting these same problems…
It seems to be related to Windows Defender flagging many files at fortnite install folder as untrusted, and blocking uefn to run (or sometimes crashing during execution).

Two alternatives that I’ve found to fix/workaround this issue:

  1. Disable Windows Defender Real Time Protection (Works and UEFN does not crash anymore. But is a security risk since you’re disabling entire computer protection)
  2. Each time that the crash window happen (may be at launch or during execution), check the file name (usually .exe or .dll at fortnite install dir), and add it as a whitelisted file on Windows Defender. You may need to repeat this step many times for each file it reports, I tested adding entire folders to the defender exclusion list, but it did not seem to have worked for me…

Here are some attached screenshots that is related to the problem:

And this is my current windows defender protection exclusion list to avoid the issue (there is more, does not fit on a single image… Every time it flags a new file/folder I add here):


After some digging, seems like the related files are unsigned, this being the reason why the defender is blocking it, here are some examples:


Reinstalling the game does not fix it (downloaded files from game install process are still unsigned)


For comparison, a properly signed file (so Windows Defender can verify its authenticity and does not flag it as untrusted) looks like this:


@Flak Please reopen this thread with these additional details, I hope it helps reproducing the issue and providing a fix. I know more people facing this same issue, so is not an isolated case…
(I have not tested if behaviors difer from Home/Pro/Entrerprise versions of windows, but also may be a good thing to check if is not only on consumer-facing environments)

I am using

  • Windows 11 Pro 25H2 (v26200.9457)
  • Windows Feature Experience Pack v1000.26100.360.0
  • Intel Core i9-14900K 6.0GHz
  • 64GB DDR5 RAM 5600MT/s
  • NVIDIA GeForce RTX 4070 Ti (12 GB)