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

Bug (Case 1301327) "External Objects" array visible in TextInspector

Discussion in '2021.1 Beta' started by Peter77, Dec 11, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    When I select a text asset in Unity 2020.1, it displays an "External Objects" array that I can manipulate:

    2021.1:
    upload_2020-12-11_16-27-56.png

    ... this is not available in 2018.4 for example:
    upload_2020-12-11_16-28-33.png

    Is this change on purpose? What can I do with these "External Objects" list?
     
  2. bastien_humeau

    bastien_humeau

    Unity Technologies

    Joined:
    Jun 14, 2017
    Posts:
    191
    Hi!
    This is definitely not a change on purpose, which version of Unity do you see this version of the TextAsset inspector?

    The External Objects is an AssetImporter value that can be accessed from this method: https://docs.unity3d.com/ScriptReference/AssetImporter.GetExternalObjectMap.html
    We are using it on some importers to store references used at import time, like the ModelImporter material remapping for example.
    It's not being used in the TextAssetImporter and should not appear in the inspector.
     
    mahdi_jeddi likes this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    I see it in Unity 2021.1.0a9. Want me to submit a bug-report for it?
     
  4. bastien_humeau

    bastien_humeau

    Unity Technologies

    Joined:
    Jun 14, 2017
    Posts:
    191
    Yes, please, that will help us track the issue down and fix it properly.
     
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    Alright, here you go:
    (Case 1301327) 2021.1: "External Objects" array visible in TextInspector

    PS: I've also updated the thread title and changed it from feedback to bug.
     
    bastien_humeau likes this.
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619