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
  3. Dismiss Notice

Resolved Getting "The referenced script (Unknown) on this behaviour is missing" when loading adressable.

Discussion in 'Addressables' started by Morphus74, Aug 16, 2021.

  1. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Does anyone know how to identify the missing behaviour?

    THank

    upload_2021-8-16_9-1-56.png
     
  2. phobos2077

    phobos2077

    Joined:
    Feb 10, 2018
    Posts:
    350
    Try setting the "Monoscript bundle naming" setting to anything other than "Disabled" in main addressable settings inspector.
     
  3. orb_9

    orb_9

    Joined:
    Feb 10, 2010
    Posts:
    47
    Thank you so much. We had some totally weird bugs with some of our Addressables and I was nearly going to relayout all our groups. Then I discovered your tip and.. it just works!

    As a reference for others: In addition to the "The references script (Unknown) on this Behaviour is missing!" we got errors like these when loading a scene via addressables:
    Code (csharp):
    1. GameObject (named 'xyz) references runtime script in scene file. Fixing!
    2. GameObject (named 'xyzz') references runtime script in scene file. Fixing!
    Setting "Monoscript bundle naming" to "Project Name" fixes the issues for our project.
     
    Steimond1, wuGor and phobos2077 like this.
  4. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Thank Phobos, seem to do the job... an other addressable mystery
     
    chrismarch, Steimond1, wuGor and 2 others like this.
  5. Steimond1

    Steimond1

    Joined:
    Jan 20, 2021
    Posts:
    12
    phobos2077 and orb_9 like this.
  6. GawebStudio

    GawebStudio

    Joined:
    Aug 14, 2017
    Posts:
    12
    There is no "Monoscript bundle naming" setting in my main addressable settings inspector. Using Unity 2021.1.9f1. Any idea where it went?
     

    Attached Files:

  7. phobos2077

    phobos2077

    Joined:
    Feb 10, 2018
    Posts:
    350
    Which version of Addressables are you using? This option was present in specific versions where I encountered this error.
     
  8. GawebStudio

    GawebStudio

    Joined:
    Aug 14, 2017
    Posts:
    12
    1.16.19
     
  9. sl1y30x

    sl1y30x

    Joined:
    Oct 30, 2022
    Posts:
    5
    i had a same problem i went to Edit > Prefrences >Asset Pipline >Directory Monitoring turn it off
     
    fabiolamin likes this.