NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.
Avoid storing a reference to this UnityTerrain object outside of the event handler. As part of map unloading, UnityTerrain tiles are destroyed as opposed to de-referenced and garbage collected, resulting in errors if a reference to this object is then accessed. This is a consequence of some Unity objects being backed by unmanaged native objects.