If the locos or rolling stock have been committed to CMP but will not show up in Railyard, check that you have all the required assets. If anything is missing, Trainz will not load it.
CMP can tell you what items are missing assets in the "Missing Dependencies" tab.
Chris