Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question [SerializeField] InputActionAsset always null on editor startup

Discussion in 'Input System' started by trashburg, Dec 18, 2022.

  1. trashburg


    May 6, 2022
    I've got a fun little wrapper class that has a serialized InputActionAsset field. Unfortunately, every time I start up the editor, whatever I've got saved in there is gone. It works fine in every other context, and appears in asset file correctly, but never actually persists. There's nothing else fancy going on. Just a simple serialized field.

    I've poked around in the docs and searched the forums, but come up empty. Is there something I'm missing here?