Search Issue Tracker
By Design
By Design in 2023.1.X
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
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
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
- UI breaks when Multiplayer Center window section divider is moved too far
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?)
Resolution Note (2023.1.X):
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?)