Search Unity

Localization : SerializeReference multiple errors on fresh download

Discussion in 'Localization Tools' started by Rs, Jun 9, 2020.

  1. Rs

    Rs

    Joined:
    Aug 14, 2012
    Posts:
    74
    Hi all,
    I would like to try the Localization package as it might be just what I need for a project. I installed it by adding the dependency in the manifest file with the line
    Code (csharp):
    1. "com.unity.localization": "0.7.1-preview"
    but as soon as it downloads I get the following errors:
    Code (csharp):
    1.  
    2. -----CompilerOutput:-stderr----------
    3. -----EndCompilerOutput---------------
    4. - Finished compile Library/ScriptAssemblies/Unity.Localization.dll
    5. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Metadata\MetadataCollection.cs(64,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    6. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Pseudo\PseudoLocale.cs(56,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    7. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Settings\Database\LocalizedStringDatabase.cs(19,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    8. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\SmartFormatter.cs(19,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    9. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\SmartFormatter.cs(22,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    10. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\SmartFormatter.cs(25,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    11. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\SmartFormatter.cs(28,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    12. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\Extensions\ListFormatter.cs(39,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    13. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Settings\LocalizationSettings.cs(22,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    14. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Settings\LocalizationSettings.cs(30,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    15. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Settings\LocalizationSettings.cs(33,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    16. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Settings\LocalizationSettings.cs(36,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    17. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\Extensions\TemplateFormatter.cs(15,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    18. Library\PackageCache\com.unity.localization@0.7.1-preview\Runtime\Smart Format\Core\Parsing\Parser.cs(20,10): error CS0122: 'SerializeReference' is inaccessible due to its protection level
    19.  
    I'm using Unity 2019.2

    Any pointers?
    Thanks!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,288
    Sorry the package only supports 2019.3 and above. This is because the Serialisereference feature is only available on 2019.3 and above ;)
     
    Last edited: Jun 9, 2020