Replies: 1 comment 1 reply
-
Use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there! Thanks for the amazing work on the library (and AssetView).
I've been trying to use it but I can't seem to get it to work as I'd like. After having imported the library with the package manager (Install-Package AssetsTools.NET -Version 2.0.9) and running the following code I get a, seemingly, empty bundle - even though I know it contains data (I can view it in AssetView just fine).
As you might expect, given that I'm writing this, I'm only getting the two first prints ("The TPK file exists" and "Bundle file exists").
I had a brief look also in the code of AssetView just to see how it was done there, and it seems to be the exact same. It seems to not matter in which order I perform the .LoadClassPackage() and the .LoadBundleFile() calls - still the same result, bundle.assetsFiles is 0.
I feel as though I'm missing something important. Got any idea what might be wrong?
PS: Attaching a sample bundle that shows up in AssetView and the .tpk file I'm using (which I copied over from the AssetView folder).
data.zip
Beta Was this translation helpful? Give feedback.
All reactions