Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Improved "The referenced script on this Behaviour" message

Discussion in '5.3 Beta' started by movra, Oct 24, 2015.

  1. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    New in 5.3.0b4:
    • "In the player"? Shouldn't that be in the editor?
    • In which situation is the improved message displayed? Because in b4 I still get the traditional message:
    Added a MonoBehaviour:

    upload_2015-10-24_16-7-31.png

    Deleted the MonoBehaviour in the filesystem:

    upload_2015-10-24_16-7-58.png

    After Asset Import process finished:

    upload_2015-10-24_16-8-56.png

    Switching to a different gameObject and back:

    upload_2015-10-24_16-9-36.png

    With each step there's increasingly less information to go by to find the original file.

    In the Windows standalone player's output_log.txt:

    By the way, here's a script that shows the properties of missing scripts in the inspector again and finds matching components:

    http://daikonforge.com/forums/resources/fix-missing-scripts.3/
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,918
    It seemed that improvement missed 5.3b4, and will be present in 5.3b5... there was a mistake in release notes. Fixed now...

    Sorry for inconvience.
     
    movra likes this.