Search Issue Tracker
Fixed
Fixed in 2022.2.0b8, 2023.1.0a6
Votes
0
Found in
2022.2.0a18
2023.1.0a2
Issue ID
UUM-7948
Regression
Yes
[Inspector] Cannot drag-and-drop to populate an array that is a Public Variable
If you declare an array as a public variable in a monobehaviour, you can then drag and drop a selection of that type into the component in the Inspector, so that you can more easily populate that array.
In 2022.2, that functionality is missing right now.
Repro steps:
* download this small project attached
* in the sample scene, select the Main Camera object
* you will find a simple script called populate_me attached to the camera as a component
* drag the 3 audio clips over the component
Expected behaviour - see attached video for CORRECT behaviour.
* in 2022.2.0a8 and earlier versions, you will see the array now populated with the 3 audio clips
Actual behaviour:
* in 2022.2.0a9 that will cause a freeze of the whole Unity Editor - I believe that the issue might have been introduced in 2022.2.0a9
* in 2022.2.0a18 and 2023.1.0a2 nothing happens
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 2023.1.0a6):
Verified as fixed in 2023.1.0a6.754
Revision: trunk aed7b1f8b821