Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
134 stars 2 forks source link

UIX: The entire UIX canvas disappears when the Slot is moved #507

Open sweshelo opened 10 months ago

sweshelo commented 10 months ago

Describe the bug?

When you move a part of the UIX canvas, for example some elements designed as a Prefab, to a non-Active Slot, the entire UIX canvas disappears. The canvas that is no longer drawn by this operation will not be permanently restored when you duplicate or Undo it, for example.

To Reproduce

  1. Create a UIX canvas
  2. Create a Non-Active Slot
  3. Move any Slot in the UIX canvas to the Slot created in 2.
  4. The entire UIX canvas will disappear and only the collider will remain

Expected behavior

Only simple Slot moves should take place. Visually, only the moved Slot should disappear.

Screenshots

image

Resonite Version Number

2023.10.20.831

What Platforms does this occur on?

Windows

What headset if any do you use?

Meta Quest 2

Log Files

SW-DESKTOP - 2023.10.20.831 - 2023-11-03 03_32_02.log

Additional Context

I pray that a means will be provided to redraw the canvases that were unfortunately lost due to this issue. Many parts of this bug report use machine translation by DeepL.

Reporters

Sweshelo

shadowpanther commented 10 months ago

Yeah, the UIX building is a bit janky. Sometimes when duplicating slots the layout would not be what you'd expect. You'd have to save/load the item or duplicate it to restore the proper layout.

sweshelo commented 10 months ago

Indeed. Worse, the problem described in this Issue cannot be solved by save/load or duplicate. In other words, you can't "restore" it after it's gone, so you have to avoid this problem by, for example, making the destination Active, then moving it, then duplicating the entire Object, then changing duplicated one to Non-Active.