I expect to have a new .bundle file with my moddified assets in it.
Output
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at AssetsTools.NET.Extra.BundleFileInstance..ctor(FileStream stream, String root, Boolean unpackIfPacked)
at AssetsTools.NET.Extra.AssetsManager.LoadBundleFile(FileStream stream, Boolean unpackIfPacked)
at AssetsTools.NET.Extra.AssetsManager.LoadBundleFile(String path, Boolean unpackIfPacked)
at UnityAssetReplacer.Asset..ctor(String& inputAssetBundlePath)
at UnityAssetReplacer.TextureAsset..ctor(String& inputAssetBundlePath)
at UnityAssetReplacer.Program.Main(String[] args)
Aborted (core dumped)
Platform
Operating System: Linux (Arch)
Architecture: x64
Program Version: v3.0.1
Extra information
I know having the modified assets being in the exact same order as in the original file is a requirement, and I have made sure that they're in fact in the same order.
Description
A null reference exception error causing the process of importing modified assets back into a bundle to crash and abort.
Steps to Reproduce
Expected Behavior
I expect to have a new .bundle file with my moddified assets in it.
Output
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at AssetsTools.NET.Extra.BundleFileInstance..ctor(FileStream stream, String root, Boolean unpackIfPacked) at AssetsTools.NET.Extra.AssetsManager.LoadBundleFile(FileStream stream, Boolean unpackIfPacked) at AssetsTools.NET.Extra.AssetsManager.LoadBundleFile(String path, Boolean unpackIfPacked) at UnityAssetReplacer.Asset..ctor(String& inputAssetBundlePath) at UnityAssetReplacer.TextureAsset..ctor(String& inputAssetBundlePath) at UnityAssetReplacer.Program.Main(String[] args) Aborted (core dumped)
Platform
Extra information
I know having the modified assets being in the exact same order as in the original file is a requirement, and I have made sure that they're in fact in the same order.