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 March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Drag & drop to array property in ScriptableObject not working (2021.2.0f1)

Discussion in 'Editor & General Support' started by JessicaSkye, Nov 16, 2021.

  1. JessicaSkye

    JessicaSkye

    Joined:
    Jan 10, 2020
    Posts:
    1
    I've got a basic ScriptableObject that just stores an array of AudioClips.
    I create a new asset from this ScriptableObject, and go to drag multiple AudioClips from the Project panel into the array field in the Inspector panel, yet nothing happens.

    This functionality works fine if it's an array of AudioClips within a MonoBehaviour in the scene, but it doesn't seem to work with a ScriptableObject Inspector in any case.

    I've tried using a List of AudioClips instead, also without any luck. Here's a gif of the functionality not behaving as expected, as well as the corresponding Scriptable Object code. dMLDvzC6yn.gif Code_gyiLR4NZRq.png

    I'm using Unity 2021.2.0f1.
     
    Last edited: Nov 16, 2021
    connygy likes this.