Topic: NullReferenceException in editor when zooming with touch display

Hello,

In the editor on a device with touch-display the following exception occurs when zooming via gesture:

NullReferenceException: Object reference not set to an instance of an object
OnlineMapsControlBase.UpdateGestureZoom (System.Int32 touchCount) (at Assets/Infinity Code/Online maps/Scripts/Controls/Base/OnlineMapsControlBase.cs:1168)
OnlineMapsControlBase.ProcessInteractions () (at Assets/Infinity Code/Online maps/Scripts/Controls/Base/OnlineMapsControlBase.cs:1056)
OnlineMapsControlBase.Update () (at Assets/Infinity Code/Online maps/Scripts/Controls/Base/OnlineMapsControlBase.cs:1132)

I'm using Online Maps v3.8.0.1

Regards

Re: NullReferenceException in editor when zooming with touch display

Hello.

Thank you very much for the bug report.
The problem has been fixed.
The patch is attached.

Post's attachments

Attachment icon Online Maps v3.8 Editor MultiTouch Patch.unitypackage 8.16 kb, 38 downloads since 2023-03-15 

Kind Regards,
Infinity Code Team.

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