microsoft / MixedReality-WorldLockingTools-Unity

Unity tools to provide a stable coordinate system anchored to the physical world.
https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/README.html
MIT License
188 stars 45 forks source link

Error in call to FrozenWorld.Engine: "FrozenWorld_AddEdges: (failed !edgeAlreadyExists) ..." #310

Open zprepass opened 1 year ago

zprepass commented 1 year ago

Hello. I am using the World Locking Tools version 1.5.9 and I am seeing the following error every so often in our app (49 occurrences in the past 14 days):

Exception Message Error in call to FrozenWorld.Engine: "FrozenWorld_AddEdges: (failed !edgeAlreadyExists) Duplicate edges[4].anchorId1/2 = 13/28",

Call Stack "CallStack": Microsoft.MixedReality.WorldLocking.Core.Plugin.checkError () (at <00000000000000000000000000000000>:0) Microsoft.MixedReality.WorldLocking.Core.Plugin.AddSpongyEdges (System.Collections.Generic.ICollection`1[T] edges) (at <00000000000000000000000000000000>:0) Microsoft.MixedReality.WorldLocking.Core.AnchorManager.Update () (at <00000000000000000000000000000000>:0) Microsoft.MixedReality.WorldLocking.Core.WorldLockingManager.Update () (at <00000000000000000000000000000000>:0) Microsoft.MixedReality.WorldLocking.Core.WorldLockingManager+UpdateProxy.Update () (at <00000000000000000000000000000000>:0)

Our app's telemetry does not show any consistent usage pattern that leads up to this exception and we do not have a repro case. This exception usually happened after our app has run for 20+ minutes but we have seen cases where it occurred 7 minutes after the app launched.

I can use some help to understand:

romsahel commented 1 year ago

Hello, I have started experiencing the same problem. One lead I have is that I recently changed the number of maximum local anchors (whereas before it was at its default value - which means unlimited) so it might be connected to that setting but I'm having a hard time reproducing it consistently to test this. Did you ever find a fix? I would be very interested. Thank you,