question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

load assetbundle error

See original GitHub issue

I’m trying loading a assetbundle with header UnityFS 5.x.x 5.4.1f1 but got error

Traceback (most recent call last):
  File "test.py", line 10, in <module>
    print(id, object.type)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 28, in type
    script = self.read()["m_Script"]
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 74, in read
    return self.read_value(self.type_tree, buf)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 132, in read_value
    result[child.name] = self.read_value(child, buf)
  File "/home/tangpei/文档/UnityPack/unitypack/object.py", line 101, in read_value
    result = buf.read_string(size)
  File "/home/tangpei/文档/UnityPack/unitypack/utils.py", line 70, in read_string
    ret = struct.unpack(self.endian + "%is" % (size), self.read(size))[0]
struct.error: unpack requires a bytes object of length 3410181934

001_school_winter.zip

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robert-nixcommented, Mar 27, 2017

This was fixed by 11c22bcc.

0reactions
dnaromacommented, Mar 27, 2017

@Mischanix Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Couldn't Load Asset Bundle?? :: Rust General Discussions
Wow, the update has been loaded and now when I start the game, it comes up with Couldn't load asset bundle..Something is missing....
Read more >
I'm downloading an AssetBundle and I'm getting an error
This error is thrown because Unity will only allow you to have a single instance of a particular AssetBundle loaded in your application...
Read more >
Asset bundle loading issue #56 - GitHub
I am getting internal error and asset bundle loading error code for many of the users for my game. What could be the...
Read more >
Couldn't Load AssetBundle - Bundles\maps/maps ... - Reddit
Couldn't Load AssetBundle - Bundles\maps/maps.bundle ??? was playing, closed game, rust updated 40 MB then this error afterwards.
Read more >
Server doesn't start. Couldn't load AssetBundle - Bundles ...
Well, hello everyone! Here is my problem - I'm trying to run rust server on my own machine(Wndows 7 x64, 16gb ram, i7...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found