AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 290 forks source link

Drag/drop does not work with prefabs #686

Closed gregnk closed 5 years ago

gregnk commented 5 years ago

Summary

When a prefab is drag-dropped into a scene or the object browser, it does not get added. Double-clicking the prefab to add it still works.

Workaround

Analysis

ilexp commented 5 years ago

Thanks for reporting!

I just reproduced this in both v2.x and v3.0. Turns out, there was a recent change in a conversion operation that would fail in some cases, including Prefab dragdrop.

I fixed it, updated both v2.x and v3.0 branches, and triggered a new binary release - should be out there in about 15 minutes. Dragging Prefabs into the Scene View or Cam View should work again after the update.

Closing this for now, but let me know if anything else comes up!