1. -Lock CComponentInstanceManager's idmanager in editor mode.