Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback Moving a script in Hierarchy breaks all UI connections (UnityEvents)

Discussion in 'UGUI & TextMesh Pro' started by andyz, Oct 14, 2021.

  1. andyz


    Jan 5, 2010
    This has always bothered me - what is the point of using the inspector to link controls to scripts in the scene (rather than linking in code say) when it is so easy to break the links by just moving the location of a script in the hierarchy?
    When a script is moved then any UnityEvents linking to that object are broken - you can't re-organise your script locations later on.
    Why doesn't the editor detect this and fix?