Search Issue Tracker

By Design

Votes

0

Found in

2020.3.38f1

2021.3.8f1

2022.1.13f1

2022.2.0b4

2023.1.0a5

Issue ID

UUM-12499

Regression

No

Drag and dropping assets onto Prefabs puts a new GameObject in the current scene

--

-

Reproduction steps:

# Open the “SceneTest” project
# Open the “SampleScene” scene
# In the Project window drag “VFX Asset” onto “SamplePrefab”
# Observe the Hierarchy

Expected result: Visual Effects Graph component is added to “SamplePrefab”
Actual result: a new GameObject is created in the current scene

Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a5

Reproduced on: Windows 10

  1. Resolution Note:

    Hi, from at least 2023.1.a16 the behavior has been fixed and now nothing happens when the VFX asset is dragged upon the prefab.

    However if you want to add the behavior, look at DragAndDropForwarding.cpp and you can see the default are looking for is already made for assets like Sprites, Meshes, Audio and Terrain data there.
    It seems like VFX asset is bound to the VisualEffectAsset class, so adding native code should not be a problem.

    If implementing this, do not add Undo support as we don't support undo on assets (yet?)

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.