I updated to 2.5 an suddenly one of my Editor scripts does not work any more. There is some weirdness and yet unseen error messages when my script tries to change a gameobjects parent. The transform is all messed up, there are errors in set_position, set_parent and overall accessing the transform (Nullreference). What could cause this? this is caused in a ExecuteInEditMode Script that raycasts to place the object on the ground below.