Don't assert on null output
don't blindly access m_tileManagers as it can assert with out of bounds when output is not valid. This can happen from scripting side as this function is wrapped in the javascript api.
don't blindly access m_tileManagers as it can assert with out of bounds when output is not valid. This can happen from scripting side as this function is wrapped in the javascript api.