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. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

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,287
    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:
    70
    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,287
    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:
    70
    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,287
    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,287
unityunity