We executed the iOS package using UE5.5 on Windows. UE automatically launched the "Metal Developer Tools for Windows". I tried two versions, 5.3 and 4.4. I found that the metal.exe sometimes had no response or output was empty. The problem of no response could be alleviated by adding timeout retries, but the problem of empty output seemed to have no effect with retries. The actual command line called was: metal.exe -v --target=air64-apple-darwin18.7.0. UE relies on this output to determine the version number, and if it cannot get it, it will crash directly. During our replication test, we used a Python script to run multiple concurrent executions of the command "metal.exe -v --target=air64-apple-darwin18.7.0". On different Windows machines, it would get stuck at a certain concurrency level. Some machines even got stuck when running two tasks concurrently. We would like to ask for solutions or available versions.
"Metal developer tools for Windows" may sometimes freeze when running multiple instances simultaneously.
This may not be directly related, but why are you using --target=air64-apple-darwin18.7.0
instead of a deployment target corresponding to iOS?
Are there any other interesting arguments to metal.exe
that might help us reproduce this?
Can you please file a FB request including any other information that might help us reproduce this.