Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"NullReferenceException: Object reference not set to an instance of an object" when converting Niagara uasset files back from json. #105

@RiccTheThicc

Description

@RiccTheThicc

Describe the bug
Trying to open the exported json file results in an error: "Encountered an unknown error when trying to open this file! System.NullReferenceException: Object reference not set to an instance of an object."
This issue is very similar to closed issue #91, which was solved by allowing an object be set to null. My guess is a different object is being set to null here.

To Reproduce
Steps to reproduce the behavior:

  1. Open "NS_JumpPad.uasset"
  2. Save as "NS_JumpPad.json"
  3. Open "NS_JumpPad.json"
  4. See error

Unmodified uasset file: NS_JumpPad.zip

Expected behavior
When converting to .json, you should be able to reopen the json in UassetGUI to convert back to uasset.

Screenshots
Image

Desktop:

  • OS: Windows 11
  • Version or Commit: UAssetGUI v1.0.2 (eea59f3 - 46c4fbf). Not sure what UAssetAPI version the gui uses, but the github page said to report these kinds of errors here instead of on UAssetGUI's issues page.

Additional Context
The .uasset file is from Islands of Insight, and was cooked with Unreal Engine version 4.27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions