UAssetAPI icon indicating copy to clipboard operation
UAssetAPI copied to clipboard

Loading an Uncooked UAsset results in NRE

Open evilfactory opened this issue 1 year ago • 1 comments

Describe the bug Trying to load an uncooked UAsset results in a null reference exception.

To Reproduce Steps to reproduce the behavior:

  1. Download LevelDefinition.zip (The asset is uncooked)
  2. Load the provided asset by doing new UAsset("LevelDefinition.uasset", EngineVersion.VER_UE5_1);
  3. Null reference exception

Expected behavior It should load.

Screenshots Image

Desktop (please complete the following information):

  • Windows 10
  • Commit c98ba52808faa751dec72de056c995132e6d0fcd

Additional context The asset has been created using Unreal Engine 5.1.1

evilfactory avatar Jan 29 '25 18:01 evilfactory