Error message: Error during reading of asset type Shader
See original GitHub issueGame name: genshin impact Engine version: 2017.4.30f1 Platform: StandaloneWinPlayer File name: unity default resources
Error message: Error during reading of asset type Shader
Inner message: System.Exception: No data left at uTinyRipper.Lz4.Lz4DecodeStream.FillInputBuffer(Int32 offset) at uTinyRipper.Lz4.Lz4DecodeStream.ReadInputByte() at uTinyRipper.Lz4.Lz4DecodeStream.Read(Stream stream, Int64 count) at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count) at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Byte[] buffer, Int32 offset, Int32 count) at uTinyRipper.Classes.Shaders.ShaderSubProgramBlob.ReadBlob(AssetLayout layout, MemoryStream memStream, UInt32 compressedLength, UInt32 decompressedLength, Int32 segment) at uTinyRipper.Classes.Shader.UnpackSubProgramBlobs(AssetLayout layout, UInt32[] offsets, UInt32[] compressedLengths, UInt32[] decompressedLengths, Byte[] compressedBlob) at uTinyRipper.Classes.Shader.Read(AssetReader reader) at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)
Stack trace: at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)
at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, ObjectInfo& info)
at uTinyRipper.SerializedFile.ReadData(Stream stream)
at uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file)
at uTinyRipper.GameProcessorContext.ReadSerializedFiles()
at uTinyRipper.GameStructureProcessor.ProcessSchemes(GameCollection fileCollection)
at uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo) at uTinyRipper.GameStructure.Load(IEnumerable
1 pathes, LayoutInfo layinfo)
at uTinyRipperGUI.MainWindow.LoadFiles(Object data)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Just received this error as well.
I haven’t been able to compress
unity_builtin_extra
enough to upload it directly to GitHub, so here’s a mirror:https://mega.nz/file/cQNlwAaA#YwSq6LaapXRhR5lL5l9KBv2lJXXZl-gQjMcy4MYPanw
Looks like developer protected his game with custom compression. Ripper doesn’t support such files.