ultraleap/UnityPlugin

Bug when saving prefab

MarchenkoSI opened this issue · 2 comments

Greetings!

The bug appears if you save the prefab on which the Hand Binder script is located. Unity starts trying to save it and is constantly updating. Also, this prefab is not always possible to remove from the project folder the first time.

Unity Plugin 5.0.0 / 5.1.0
Unity 2019.4.0f1 / 2020.3.23f1

Reproduce:

  1. Create any object in any scene.
  2. Add a Hand Binder script to this object
  3. Save object as prefab
  4. Select a prefab in the project folder

https://youtu.be/7Y4f1WxM1OM

Hello, thanks for reporting a bug.

For now, if you jump into the HandBinderEditor.cs and comment out line 106 //EditorUtility.SetDirty(target) this will fix the issue.

We will look into fixing this issue in the next release :)