UAssetAPI icon indicating copy to clipboard operation
UAssetAPI copied to clipboard

ArgumentOutOfRangeException

Open MinecrackTyler opened this issue 3 years ago • 3 comments

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):

  • OS: Windows 10
  • Version or Commit: 1.0.0.7

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 avatar Nov 16 '22 03:11 MinecrackTyler

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

MinecrackTyler avatar Nov 18 '22 01:11 MinecrackTyler

same problem

lozn00 avatar Jun 30 '23 07:06 lozn00

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

k----n avatar Jan 17 '24 08:01 k----n

seems like engine modification, cause WorldTileInfoOffset value is lower than an actual offset in the asset by 240 bytes. for this game it should be like this: WorldTileInfoDataOffset = reader.ReadInt32()+240; (and corresponding changes to the write section to maintain binary equality)

LongerWarrior avatar Jul 24 '24 11:07 LongerWarrior