MixedRealityToolkit / MixedRealityToolkit-Unity

This repository holds the third generation of the Mixed Reality Toolkit for Unity. The latest version of the MRTK can be found here.
BSD 3-Clause "New" or "Revised" License
339 stars 86 forks source link

Endless stream of error messages in Unity Editor when a GO with a PressableButton is selected #772

Open KevinKennedy opened 1 month ago

KevinKennedy commented 1 month ago

Repro:

Result:

Commenting out the "[CanEditMultipleObjects]" in PressableButtonInspector.cs will make the errors go away. Not the right fix obviously.

Looks like it was introduced in Change #698

ms-RistoRK commented 1 month ago

Hello @KevinKennedy, thank you for submitting this issue. I am trying to reproduce it but I am not able to reproduce the issue. In order to attempt to reproduce it I:

image

Here is my working branch in case you would like to try it: https://github.com/ms-RistoRK/MixedRealityToolkit-Unity/tree/MRTK3-Issue772

I would suggest you to:

Could you please confirm if any of the above suggestions fixed your issue?

ms-RistoRK commented 1 month ago

Hello @KevinKennedy I took another look at this issue and now tried to reproduce it with Unity 2022.3.20f1 as per your report. I'm still unable to reproduce it in either Editor nor Play mode as shown next:

image

image

I'm thinking it may be the last commit you have from main branch. I'm using the latest commit from main branch. Could you please share which commit do you have? I'll try to reproduce from that commit.

KUNGERMOoN commented 3 weeks ago

I managed to reproduce it in my issue #782

KalonMailh commented 1 week ago

Hello There, I am facing the same issue. Do we have any more information about it ?

So4E commented 2 days ago

I have the same issue. Here's a way to reproduce the errors: