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"

Package Native Shader Library failed for IOS

Hello,

Using 4.22, building for iOS 11/Metal 2.0. I am remotely building on windows, my mac has Xcode 10.1. I can build fine, however when I enable " Enable Remote Shader Compile " I get this error:

LogShaders: Error: Shader stripping failed: shader G:/git/Dodo_Peak/DodoPeak/Saved/Shaders/SF_METAL/ShaderDebug-DodoPeak-SF_METAL (Native: true, Offline Compiled: 0) was not compiled to bytecode for native archiving! PackagingResults: Error: Shader stripping failed: shader G:/git/Dodo_Peak/DodoPeak/Saved/Shaders/SF_METAL/ShaderDebug-DodoPeak-SF_METAL (Native: true, Offline Compiled: 0) was not compiled to bytecode for native archiving! UATHelper: Packaging (iOS): CookResults: Error: Package Native Shader Library failed for IOS. UATHelper: Packaging (iOS): LogCook: Display: Saved scl.csv G:/git/Dodo_Peak/DodoPeak/Saved/Cooked/IOS/DodoPeak/Metadata/PipelineCaches/ShaderStableInfo-Global-SF_METAL.scl.csv for platform IOS UATHelper: Packaging (iOS): LogCook: Display: Saved scl.csv G:/git/Dodo_Peak/DodoPeak/Saved/Cooked/IOS/DodoPeak/Metadata/PipelineCaches/ShaderStableInfo-DodoPeak-SF_METAL.scl.csv for platform IOS UATHelper: Packaging (iOS): LogCook: Display: ---- NOT Running UShaderPipelineCacheToolsCommandlet for platform IOS shader format SF_METAL, no files found at G:/git/Dodo_Peak/DodoPeak/Build/IOS/PipelineCaches/*DodoPeak_SF_METAL.stablepc.csv UATHelper: Packaging (iOS): LogShaderLibrary: Display:

I can build without "Enable Remote Shader Compile" however when running the app on an iOS device, I experience significant hitches and slow downs as the shaders are compiled in runtime. I have also tried PSO caching (new feature in 4.21) however this seems to make no difference whatsoever in reducing these hitches. If anyone has any advice please let me know. Thank you!

Product Version: UE 4.22
Tags:
more ▼

asked Apr 06 '19 at 05:32 PM in Packaging & Deployment

avatar image

patrick58d
56 1 4 9

avatar image patrick58d Apr 08 '19 at 01:20 PM

If anyone has general advice on reducing hitches on iOS too, that be great! Android and Windows run great.

avatar image patrick58d May 05 '19 at 12:19 PM

Anyone else having this issue?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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