Topic: NullReferenceException in editor when zooming with touch display


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


Re: NullReferenceException in editor when zooming with touch display


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, file has never been downloaded. 

Kind Regards,
Infinity Code Team.

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