Search Unity

[Resolved] [0.6.7] bug [SerializeField] does not render AssetReference to inspector

Discussion in 'Addressables' started by unknowndevice, Mar 8, 2019.

  1. unknowndevice

    unknowndevice

    Joined:
    Sep 13, 2016
    Posts:
    86
    Code (CSharp):
    1. [SerializeField] AssetReference[] assetsSerialize = default;
    2. public AssetReference[] assetsPublic = default;
    using the above code. see screenshot attached
     

    Attached Files:

  2. hadmaerd

    hadmaerd

    Joined:
    Sep 6, 2014
    Posts:
    13
    It works for me (copy-pasted your code)
     
  3. unknowndevice

    unknowndevice

    Joined:
    Sep 13, 2016
    Posts:
    86
    not sure what's up then!
     
  4. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,092
    Maybe different versions of Unity? what version are you using?
     
  5. unknowndevice

    unknowndevice

    Joined:
    Sep 13, 2016
    Posts:
    86
    2018.3.7f1
     
  6. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    That screenshot looks like what I'd expect in 0.5.3, not 0.6.7. Do you have any warnings/errors in the console? Or perhaps have you at any point copied the package into your Packages directory? This may be a case of the package not actually updating, but not quite communicating that clearly.
     
  7. unknowndevice

    unknowndevice

    Joined:
    Sep 13, 2016
    Posts:
    86
    @unity_bill apologies for wasting your time. It seems someone had enabled the staging packages in the project. this is not a bug in 0.6.7. many thanks for your time.
     
    MNNoxMortem likes this.
  8. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    No problem. thanks for following up.