Scene Validator does not detect issues in disabled scene objects

Issue #191 resolved
Matthew Drotar created an issue

Scene Validator does not show problems (such as field with Required attribute not filled in) in disabled GameObjects. When the disabled object is selected, the inspector does show the error, however, the Scene Validator still does not show the error.

Steps to reproduce:

  1. Create a MonoBehaviour with a public GameObject field.
  2. Add a [Required] attribute to the field.
  3. Create a game object in the scene and add the MonoBehaviour to that game object. Leave game object enabled.
  4. Run Scene Validator, see that the validator detects the error.
  5. Disable the game object in the scene.
  6. Run Scene Validator again, see that the validator detects no errors.

Expected behaviour is that the Scene Validator would detect errors regardless of whether the game object is enabled or disabled in the scene.

Unity version 5.6.3p3 Odin version 1.0.5.1 Windows 10

Comments (4)

  1. Tor Esa Vestergaard
    • changed status to open

    Thanks for the report! This is currently planned for patch 1.0.6, which will contain many upgrades and fixes for the scene validator.

  2. Log in to comment