Topic: NullReferenceException in OnlineMapsCache+CacheAtlas`1+<>c__DisplayCla

Hello. On one of our devices the following exception has occurred in Online Maps 3.8.0:

OnlineMapsCache+CacheAtlas`1+<>c__DisplayClass15_0[T].<Save>b__0 () (at <00000000000000000000000000000000>:0)
OnlineMapsThreadManager.StartNextAction () (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
UnityEngine.UnhandledExceptionHandler:HandleUnhandledException(Object, UnhandledExceptionEventArgs)

Device
iPad6,4
OS version
iPadOS 16.2

Regards

Re: NullReferenceException in OnlineMapsCache+CacheAtlas`1+<>c__DisplayCla

Hello.

Thank you for the bug report.
I looked at this part of the script, and didn't see any obvious problem here.
Wrap this code in try/catch (screenshot attached) and the problem goes away.
This will not fix the cause of the problem, only cure the symptoms.
Unfortunately, I don't have enough information to fix the cause of the problem.

P.S. If you want a modified script from me, please contact me via email (support@infinity-code.com) or discord.

Post's attachments

Attachment icon img1.png 44.83 kb, 30 downloads since 2023-03-29 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.