Topic: Map Tileset instance NullReferenceException
I have a problem which I'm trying to track down. The app starts and loads a tileset map. When user clicks a specific button, I unload current scene and load a new scene, which has its own tileset map, do some stuff, then close scene and load first scene from scratch. This all works fine, but going back to the original scene I get a NullReferenceException when I hit this line:
<code>Vector3 pipPos = OnlineMapsTileSetControl.instance.GetWorldPosition(lon, lat);</code>
It seems the OnlineMapsTileSetControl.instance is null.
Is there anything special that I need to do for multiple TileSet/Maps? I'm not running more than 1 at a time.
Thanks, I'm hoping I can get this figured out. After hours of testing and commenting-things out I figured it was time to post for help!