Skip to content

UnityFS 2019.4.5f1 crashes - System.OverflowException #26

@BlazingTwist

Description

@BlazingTwist

This seems to hold true for any 2019.4.5f1 bundle that I throw at it, the 2019.1.8f1 counterparts work fine.
Here's the Stacktrace:

System.OverflowException: Arithmetic operation resulted in an overflow.
   at AssetsTools.NET.Type_0D.Read(Boolean hasTypeTree, AssetsFileReader reader, UInt32 version)
   at AssetsTools.NET.TypeTree.Read(AssetsFileReader reader, UInt32 version)
   at AssetsTools.NET.AssetsFile..ctor(AssetsFileReader reader)
   at AssetsTools.NET.Extra.AssetsFileInstance..ctor(Stream stream, String filePath, String root)
   at AssetsTools.NET.Extra.AssetsManager.LoadAssetsFile(Stream stream, String path, Boolean loadDeps, String root)
   at AssetsView.Winforms.StartScreen.LoadBundleFile(String path)
   at AssetsView.Winforms.StartScreen.addFileToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This happens both when opening the bundle using AssetsView and my own implementation (which calls the AssetsFileInstance constructor)

I tried loading the bundle using several applications

  • UABE says they're not valid Assets files.
  • AssetStudio doesn't load them at all, no warnings / errors

On the other hand

  • uTinyRipper seems to unpack without trouble
  • devXUnityUnpacker loads the bundles fine as well

I did see you mentioning reading the assets manually using the AssetsFileReader on the main ReadMe, could you elaborate on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions