atenfyr / UAssetAPI

A low-level .NET library for reading and writing Unreal Engine game assets.
https://atenfyr.github.io/UAssetAPI/
MIT License
195 stars 44 forks source link

ArgumentOutOfRangeException #68

Open MinecrackTyler opened 1 year ago

MinecrackTyler commented 1 year ago

Describe the bug I have a .umap and uexp combo packed in ue 4.24 that refuses to open in newer version above 1.0.0.5 with the error System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: count

To Reproduce Steps to reproduce the behavior:

  1. Open the newest commit and or release of UAssetGui
  2. Open the attached file
  3. See error From UE 4.24, game is Project Wingman

Expected behavior It should open

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context I dont know if this is an issue with the file, or maybe with the program, but it would be nice to still open if able and maybe point out the issue Alternatively, if someone can find what is causing the issue so i can change it. Thank you C_M22.zip

MinecrackTyler commented 1 year ago

If it helps i managed to get the file to open by converting it to a json in 1.0.0.5 and editing parts of the json ex 'UAssetAPI.RawExport to UAssetAPI.Exports.RawExport' then it loaded fine and it might have been something to do with the overrides because then all other files opened fine

lozn00 commented 1 year ago

same problem

k----n commented 5 months ago

This issue seems similar: https://github.com/atenfyr/UAssetAPI/issues/66