Failed to find reflection in binary archives

Thank you for the answer of Binary archive by https://developer.apple.com/forums/thread/694349 .

But I met another problem of Binary Archive, and below is the scenarios. 1.Run app and save binary archive by serializeToURL (MTLBinaryArchive). 2.Download these binary archive files, and pack them into the same app. 3.Run the app with the binary archive, some of the binary archive works fine, but some of them said "Error Domain=AGXMetalA14 Code=3 "Failed to find reflection in binary archives" UserInfo={NSLocalizedDescription=Failed to find reflection in binary archives}" during newRenderPipelineStateWithDescriptor .

For another scenarios, everything works fine. 1.Run app and save binary archive by serializeToURL (MTLBinaryArchive). 2.Run the app again with the saved binary archive.

Answered by Shinewang in 702240022

Sorry, It is my fault, I reload the binary archive for a different pso... Ignore...

Thank you

Accepted Answer

Sorry, It is my fault, I reload the binary archive for a different pso... Ignore...

Thank you

Hello! I met the same problem when I was experimenting with Shader Binary Archives. I have only on PSO in my project, so there should be no problem with setting the binary archive for a different one. I successfully loaded the binary archive but failed when creating PSO. Do you have a clue about this? Thank you very much

Failed to find reflection in binary archives
 
 
Q