Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug LocalizeString Component Missing Text.set_text

Discussion in 'Localization Tools' started by jihun3, Sep 5, 2019.

  1. jihun3

    jihun3

    Joined:
    Feb 26, 2019
    Posts:
    1
    Environment
    - Unity 2019.3.0b1
    - Windows 10 Pro
    - CPU: I7-6700 CPU @ 3.40GHZ
    - Ram: 16GB

    Issue
    1. LocalizeString AddComponent
    2. UpdateString Event is <Missing Text.set_text>


    Code (CSharp):
    1.  
    2. namespace UnityEngine.Localization.Components
    3. {
    4.     [AddComponentMenu("Localization/Generic/String")]
    5.     public class LocalizeString : LocalizationBehaviour
    6.     {
    7.                 [SerializeField]
    8.         LocalizationUnityEvent m_UpdateString = new LocalizationUnityEvent();
    9.     }
    10. }
    주석 2019-09-05 135417.png

    주석 2019-09-05 135829.png

    I added public keyword before localizationUnityEvent variable as below.

    Code (CSharp):
    1.  
    2. namespace UnityEngine.Localization.Components
    3. {
    4.     [AddComponentMenu("Localization/Generic/String")]
    5.     public class LocalizeString : LocalizationBehaviour
    6.     {
    7.         [SerializeField] public LocalizationUnityEvent m_UpdateString = new LocalizationUnityEvent();
    8.     }
    9. }


    주석 2019-09-05 135717.png 주석 2019-09-05 135755.png

    This bug occurs in Unity 2019.3 and later.

    I have confirmed that it works fine in Unity 2019.2 version.
     
    Last edited: Sep 5, 2019
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,275
    That's strange. Thanks I'll take a look.
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,275