Search Issue Tracker

Fixed in 2018.1.X



Found in


Issue ID




Dragging Audio Source component to GameObject Inspector window creates a separate GameObject instead of adding component to it

Inspector Framework


How to reproduce:
1. Open the attached "Test audio" project
2. Create an empty GameObject and drag "FABRIC_Flag..." audio source file to its Inspector window

Expected result: Audio Source component is added to GameObject
Actual result: New GameObject with Audio Source component is created

Reproducible with - 2017.1.0a2, 5.6.0b10
Not reproducible with - 5.5.2p2, 5.4.4p2

1. Could also reproduce it with Video Player component, could not reproduce it with a GUI text (by dragging and dropping font file)
2. Works fine, if you drag and drop Audio Source onto GameObjects name in Hierarchy or add it manually by using Add Component feature

Fixed in - 2018.1.01f1

Comments (4)

  1. josephjarriel

    Dec 23, 2017 14:23

    Seeing this same issue with 2017.2.1.f1

  2. Mootalorn

    Oct 30, 2017 19:16

    Reproduced with 2017.2.0f3

    Workaround (in case you are a noob like me):
    1.) Add Component Audio->Audio Source
    2.) Drag&drop the clip to AudioClip field

  3. Sunflash

    Oct 08, 2017 21:27

    Version 2017.1.1f1 Personal

    Just confirming I have this same issue while using the Space Shooter Tutorial.

    Not hard to work around, but it should probably be annotated in the video as a known bug.

  4. GrisWoldDiablo

    Apr 06, 2017 04:14

    Using version 5.6.0f3 I have the same problem.
    watching Audio - 13 - Space Shooter Tutorial at 4:40 mark when it ask to drop the audio clip onto the game inspector, it just create a new object in Hierarchy.
    Same problem at 5:35 mark.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.