Relocalization failed occasionally due to unknown exception

Hi,

It’s noticed that sometimes, occasionally, Placenote relocalization failed due to exception:

This problem has a much higher chance to happen in debug mode(when unity project is build in debug mode). In normal mode it also happens occasionally, but when it happens the whole app got frozen.

Is this one of the known issue?

  • Cliff

FYI. This happens when Placenote library(LibPlacenote) is trying to download thumbnail:

<after loading map, it’s trying to download thumbnail>
FROM AR: Retrieving thumbnail from the cloud

LibPlacenote: thumbnail found on HD, uploading to Placenote Cloud

LibPlacenote:SyncLocalizationThumbnail(String, String, Action`3)

System.Action`3:Invoke(T1, T2, T3)

<>c__DisplayClass98_0:b__0()

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

SocialBeeCoreData: Save successful!

Syncing thumbnail!

<>c__DisplayClass102_0:b__0()

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading thumbnail

System.Action`3:Invoke(T1, T2, T3)

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Syncing thumbnail!

<>c__DisplayClass102_0:b__0()

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading thumbnail

System.Action`3:Invoke(T1, T2, T3)

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Syncing thumbnail!

<>c__DisplayClass102_0:b__0()

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading thumbnail

System.Action`3:Invoke(T1, T2, T3)

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Syncing thumbnail!

<>c__DisplayClass102_0:b__0()

Delegate:Invoke()

MainThreadTaskQueue:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

hey @clifflinmao,

We advise against compiling any of our libraries in Debug mode. The lack of optimization there can cause some serious performance issues (including some of the exceptions you are seeing).

1 Like