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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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?)