Search Issue Tracker
Fixed
Votes
0
Found in [Package]
0.6.1-preview
Issue ID
LOC-88
Regression
No
Localization package error occurs when instantiating a prefab without a string reference set during runtime
How to reproduce:
1. Open the attached project (case-1230723.zip)
2. Make sure GameObject has 'My Text Mesh Pro Prefab' set to 'Text (TMP)' Prefab and 'My Text Prefab' to 'Text (Text)'
3. Enter the Play Mode
Expected result: the Prefabs 'Text (TMP) (Clone)' and 'Text (Clone)' are instantiated
Actual result: the Prefabs are instantiated and an error occurs twice in the Console window
Reproducible with: 0.2.1-preview (2018.4.21f), 0.2.2-preview (2018.4.21f), 0.2.3-preview (2018.4.21f), 0.3.1-preview (2018.4.21f), 0.3.2-preview (2020.2.0a7), 0.4.0-preview (2020.2.0a7), 0.5.0-preview (2019.3.10f1), 0.5.1-preview (2020.1.0b5), 0.6.0-preview (2020.2.0a7), 0.6.1-preview (2020.2.0a7)
Notes:
1. Packages 0.4.0-preview and below don't seem to support TextMeshPro but the issue still occurs with Text component
2. Each package displays a slightly different error
Workaround:
Would be to set the initial reference value
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Resolution Note:
Fixed LocalizedString and LocalizedAsset trying to localize when they are empty.