Topic: NullReferenceException in OnlineMapsCache
Hey Infinity Code,
A pesky bug is preventing us from progressing on our application. Below is the stack trace for the error:
NullReferenceException: Object reference not set to an instance of an object
OnlineMapsCache.OnPreloadTiles () (at Assets/OnlineMapsV3/Online maps/Scripts/Cache/OnlineMapsCache.cs:117)
OnlineMaps.CheckBufferComplete () (at Assets/OnlineMapsV3/Online maps/Scripts/OnlineMaps.cs:741)
OnlineMaps.LateUpdate () (at Assets/OnlineMapsV3/Online maps/Scripts/OnlineMaps.cs:1073)
This shows that the null ref in question is the map's TileManager (from line 117 of Cache). Any reason as to why this would be null? We are using multiple different maps in our app with different functionality. No two maps are active at the same time though. They are turned on and off when switching between each other.
Any advice you can give me is greatly appreciated. Thank you for your help in advance.