x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Unreal Crashing on Mac Metal Shader Errors, Xcode, Material Import

When I import an FBX from SketchUp to Unreal none of my materials/textures appear to work. (link to SketchUp forum post if you want more detail) When I use the material editor I get a ton of different error messages saying the following:

[SM5] /tmp/18012_1575091083.metal(0): Failed to load output file: /tmp/ShaderIn6D46E8944842DD88C5828DB09ED20494 [SM5] /tmp/8657_2795644382.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/8657_2795644382.metal(0): Failed to load output file: /tmp/ShaderIn4D4DB6804148CEAAFF5BB2827DE3224C [SM5] /tmp/8384_2404435166.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/8384_2404435166.metal(0): Failed to load output file: /tmp/ShaderInF0E91FCC9F4A48B6C4B412B03D26AE4C [SM5] /tmp/8384_2404435166.metal(0): Failed to load output file: /tmp/ShaderIn775119C63F459BEC359E88B1A799B31D [SM5] /tmp/12301_3888244439.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/12301_3888244439.metal(0): Failed to load output file: /tmp/ShaderInE1B8D70C9B44CB95EF3AFA9A5EDAC01A [SM5] /tmp/12301_3888244439.metal(0): Failed to load output file: /tmp/ShaderIn3DC35AA55F4977DD9A13DFB953A170A6 [SM5] /tmp/12174_2276249011.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/12174_2276249011.metal(0): Failed to load output file: /tmp/ShaderIn48AF8F70ED46A5E450E3EDA274E00B76 [SM5] /tmp/12174_2276249011.metal(0): Failed to load output file: /tmp/ShaderIn53CF849DB342AF649C8D79B81ECBB85B [SM5] /tmp/20014_3660387631.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/20014_3660387631.metal(0): Failed to load output file: /tmp/ShaderIn84CD69EE0A42707E7095CB9BAC3236BD [SM5] /tmp/21563_302851852.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/21563_302851852.metal(0): Failed to load output file: /tmp/ShaderIn0E95756FF24A639E79EDDFBB420C4267 [SM5] /tmp/11639_1408313773.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/11639_1408313773.metal(0): Failed to load output file: /tmp/ShaderInBFEECF9CA146CF70F05DEAAD9C18A8A4 [SM5] /tmp/11639_1408313773.metal(0): Failed to load output file: /tmp/ShaderIn2DB533E6B3472E75F1E08F9FD60C93E0 [SM5] /tmp/22717_3231837931.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/22717_3231837931.metal(0): Failed to load output file: /tmp/ShaderInF125FA31A847AD6E10F2C88EBA38FF40 [SM5] /tmp/24352_3652640190.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/24352_3652640190.metal(0): Failed to load output file: /tmp/ShaderInF123B558514F65706EDE8E941017A19A [SM5] /tmp/11639_1408313773.metal(0): Failed to load output file: /tmp/ShaderIn407B2C20954FD3FE95522CBAD49C256D [SM5] /tmp/17256_2383891687.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally. [SM5] /tmp/17256_2383891687.metal(0): Failed to load output file: /tmp/ShaderInB2A68F5B3D47721E363ECDAEF1FF1387 [SM5] /tmp/18012_1575091083.metal(0): Metal Shared PCH generation failed - cannot find metal_stdlib header relative to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin locally.

I tried following the suggestions from this post, but after I restarted UE (required for changes to take effect) my project is no longer loadable. Attempting to open the file just crashes UE at 35%.

When I try starting a new project and editing the settings it seems to work? But when I import the FBX file I get the following errors: No smoothing group information was found in this FBX scene. Please make sure to enable the 'Export Smoothing Groups' option in the FBX Exporter plug-in before exporting the file. Even for tools that don't support smoothing groups, the FBX Exporter will generate appropriate smoothing data at export-time so that correct vertex normals can be inferred while importing. Smith_Unreal_Test has degenerate tangent bases which will result in incorrect shading. MikkTSpace relies on tangent bases and may result in mesh corruption, consider disabling this option. Smith_Unreal_Test has some nearly zero bi-normals which can create some issues. (Tolerance of 1E-4)

I don't know if this is related to the problem or not

For what it's worth, I was getting the following error message when I updated my version of Unreal last week: "Xcode installed on this Mac is too old to be used for Metal shader compilation. Falling back to runtime compiled text shaders, which are slower. Please update to latest version of xcode for best performance."

I followed the instructions outlined in this post to correct the problem, which seems to have worked.

My terminal log:alt text

REPRO STEPS: 1. Install UE 4.18 and the newest XCode on a Macintosh. 2. Open terminal (through the launchpad) 3. Ensure the Command Line Tools package is installed by running xcode-select --install 4. If you get a message that says you need to install Command Line Tools, click yes 5. Set the Command Line Tools package to be the standard command line tool provider by running sudo xcode-select -s /Library/Developer/CommandLineTools 6. This will simulate the state of having installed CommandLineTools before Xcode. 7. You can see that you have a working compiler toolchain by typing cc (this didn't work for me just FYI) 8. Now open Unreal Editor. You will see the "Xcode installed on this Mac is too old" dialog. 9. Close unreal editor and reset your command line tool provider by running sudo xcode-select -r 10. Reopen unreal editor. The error will be gone.

I don't know if the problem I was originally having is related to the problem I am currently having, but I wanted to make sure I gave as much information as I could to help resolve the problem. Here's what happens when I try to import an FBX model: alt text

You can see that none of the textures are applied to the model. Some have images, but I can't seem to apply those either.

I can get the materials in the system already to work as you can see here: alt text

But Here's what happens when I try to make a material out of one and open it in the material editor: alt text

For the sake of context, here's what I'm working with: Computer - macOs Mojave version 10.4.2 (18c54) - MacBook Pro (retina, 15-inch, mid 2014) - Processor 2.8 GHz Intel Core i7 - Memory: 16 GB 1600 MHz DDR3 - Startup Disk: Macintosh HD - Graphics: NVIDIA GeForce GT 750M 2048 MB Intel Iris Pro 1536 MB Unreal: Unreal Engine 4.19.2 Xcode: Version 10.1 (10B61)

Can anyone please help me out here? I'm newer to unreal, but have to support 6 separate teams of students working on building video games this semester via building them custom assets in SketchUp. I'm a student too, but I really need to be proficient at all of this

Product Version: UE 4.19
Tags:
more ▼

asked Jan 14 '19 at 01:03 PM in Using UE4

avatar image

TysonGersh
1 1 2

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question