Skip to content

End of Stream Exception #452

@F001hardy

Description

@F001hardy

When opening most of the V Rising asset files UABEA crashes.

Steps to reproduce the behavior:

  1. In UABEA click 'File' then 'Open'
  2. Go to "VRising\VRising_Data\StreamingAssets\ContentArchives"
  3. Open almost any asset. For example '511a06512fe273b7ca3f33c068e82154'
  4. Click 'Info'
  5. See crash log

I opened the file in UABEA Next with no issue, but that program doesn't have the full functionality I need.

Crash Log:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.Stream.ReadAtLeastCore(Span1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream) at System.IO.BinaryReader.InternalRead(Int32 numBytes) at System.IO.BinaryReader.ReadInt32() at AssetsTools.NET.AssetsFileReader.ReadInt32() at AssetsTools.NET.TypeTreeType.Read(AssetsFileReader reader, UInt32 version, Boolean hasTypeTree, Boolean isRefType) at AssetsTools.NET.AssetsFileMetadata.Read(AssetsFileReader reader, UInt32 version, Int64 dataOffset) at AssetsTools.NET.AssetsFileMetadata.Read(AssetsFileReader reader, AssetsFileHeader header) at AssetsTools.NET.AssetsFile.Read(AssetsFileReader reader) at AssetsTools.NET.Extra.AssetsFileInstance..ctor(Stream stream, String filePath) at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFileCacheless(Stream stream, String path, Boolean loadDeps, BundleFileInstance bunInst) at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFile(FileStream stream, Boolean loadDeps) at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFile(String path, Boolean loadDeps) at AssetsTools.NET.Extra.AssetsFileInstance.GetDependency(AssetsManager am, Int32 depIdx) at UABEAvalonia.AssetWorkspace.LoadAssetsFile(AssetsFileInstance fromFile, Boolean loadDependencies) in D:\a\UABEA\UABEA\UABEAvalonia\Workspace\AssetWorkspace.cs:line 152 at UABEAvalonia.InfoWindow.LoadAllAssetsWithDeps(List1 files) in D:\a\UABEA\UABEA\UABEAvalonia\Forms\InfoWindow.axaml.cs:line 1176
at UABEAvalonia.InfoWindow..ctor(AssetsManager assetsManager, List`1 assetsFiles, Boolean fromBundle) in D:\a\UABEA\UABEA\UABEAvalonia\Forms\InfoWindow.axaml.cs:line 98
at UABEAvalonia.MainWindow.BtnInfo_Click(Object sender, RoutedEventArgs e) in D:\a\UABEA\UABEA\UABEAvalonia\Forms\MainWindow.axaml.cs:line 379
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
at Avalonia.Threading.DispatcherOperation.Execute()
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.Threading.Dispatcher.Signaled()
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at UABEAvalonia.Program.Main(String[] args) in D:\a\UABEA\UABEA\UABEAvalonia\Program.cs:line 53

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions