Adding a Component to Sequencer

Somehow using SetParent(PranetGuid), breaks the object reference to the component. Whereas without setting the parent keeps the reference to the camera component? Any idea why its happening?
I am using 4.16.