Topic: MissingReferenceException in online maps beta

I have the scene with online maps gameobject. Map type is tileset. When the scene is loading the first time - all is ok, but when you go to another scene and come back to map scene I have this exception:

MissingReferenceException: The object of type 'OnlineMaps' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Component.GetComponent[T] () (at C:/buildslave/unity/build/Runtime/Export/Component.bindings.cs:42)
OnlineMaps.get_control () (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:452)
OnlineMapsCache.LoadTile (OnlineMapsTile tile, System.Byte[] bytes) (at Assets/Infinity Code/Online maps/Scripts/Plugins/OnlineMapsCache.cs:375)
OnlineMapsCache.TryLoadFromFileCache (OnlineMapsTile tile) (at Assets/Infinity Code/Online maps/Scripts/Plugins/OnlineMapsCache.cs:508)
OnlineMapsCache.TryLoadFromCache (OnlineMapsTile tile) (at Assets/Infinity Code/Online maps/Scripts/Plugins/OnlineMapsCache.cs:485)
OnlineMapsCache.OnPreloadTiles () (at Assets/Infinity Code/Online maps/Scripts/Plugins/OnlineMapsCache.cs:424)
OnlineMaps.CheckBufferComplete () (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:663)
OnlineMaps.LateUpdate () (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:972)

Re: MissingReferenceException in online maps beta


Thanks for the bug report.
The problem is fixed.
The new version will be available soon.

Kind Regards,
Infinity Code Team

Re: MissingReferenceException in online maps beta

Thanks! Now all is ok!