void OnApplicationQuit() { //should be called before OnDestroy m_UISystem.UnregisterLiveViewComponent("coui://" + m_LiveName); }