Search Unity

[Fixed][ProBuilder Bug] Can't drag and drop prefabs onto ProBuilder meshes.

Discussion in 'World Building' started by chatrat12, May 3, 2018.

  1. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    This is really hurting my productivity. Just upgraded Unity to 2018.1.0f2 on Windows. I installed ProBuilder via the Package Manager. Current ProBuilder version is 3.0.6. Follow the steps bellow to recreate the bug.
    • Create a new project and install ProBuilder via Package Manager.
    • In an empty scene, create a cube, turn it into a prefab and delete the cube from the scene.
    • Create a new ProBuilder cube with Ctl + K
    • Drag and drop your cube prefab from the Project view onto the the ProBuilder cube in the scene view.
    Expected behavior A copy of the prefab should be place in the scene where I drop it
    Actual behavior I see a preview of my prefab and as soon as I release the mouse button to drop the prefab, the preview disappears and no object is dropped into the scene.

    ProBuilderBug.gif
     
  2. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Hi! Ah, that is a VERY strange bug- instant repro though, that helps! Thanks very much for reporting this, we'll get to it ASAP :)
     
  3. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    Glad I can help, good luck tracking it down :)
     
  4. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    Tried to track this one down. Unfortunately there is no source but the problem might be in pb_DragAndDropListener.cs. I can only speculate. Maybe the Use() method is being called on the DragPreformed event when it shouldn't be?
     
  5. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    552
    Yes, that looks like the culprit to me. Thanks for your report, this will be fixed asap.
     
  6. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    This seems to still be present in 3.0.8 :(
     
  7. LazloBonin

    LazloBonin

    Joined:
    Mar 6, 2015
    Posts:
    813
    Argh, I thought I was going crazy! Any update on fixing? :)
     
  8. garryjnewman

    garryjnewman

    Joined:
    Sep 11, 2015
    Posts:
    33
    This us haunting me too - thanks for looking into it
     
  9. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Fixed internally, will be part of the next update :)
     
  10. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    Can't wait :)
     
  11. kulesz

    kulesz

    Joined:
    Jul 1, 2012
    Posts:
    140
    Thanks for looking into it.
    Any ETA for an update?
     
  12. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    This is a pretty critical bug IMO, I stopped using the product altogether, 5 weeks without using pro builder :(
     
  13. kulesz

    kulesz

    Joined:
    Jul 1, 2012
    Posts:
    140
  14. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    552
    It should be out this early this week.
     
  15. lusho_games

    lusho_games

    Joined:
    Jun 4, 2011
    Posts:
    63
    Great that is coming out this week.

    It doesn't happen when dragged into a non ProBuilder asset. It is still not as convenient but in case it helps some one, as a workaround in the meantime.
     
  16. chatrat12

    chatrat12

    Joined:
    Jan 21, 2015
    Posts:
    122
    Glad to hear the fix is imminent. You guys have made an amazing tool, I'll be glad to have it back in my arsenal.
     
  17. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    552
    3.0.9 is available on Package Manager as of yesterday.
     
    rIKmAN_ likes this.
  18. kulesz

    kulesz

    Joined:
    Jul 1, 2012
    Posts:
    140
    Problem is gone, thanks :)
     
    kaarrrllll likes this.
  19. Remideza

    Remideza

    Joined:
    Feb 17, 2014
    Posts:
    2
    The problem isn't gone ! If you use a prefab in an unity 2018 version and then open the project with unity 2017 the prefab can't be dropped