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
- [APV] Impossible to switch between multiple Baking Set when multiple scenes are loaded additively
- [Linux] Low project loading speed when using Ubuntu 24.10
- [VFX Graph] URP ShaderGraph integration issue with VFX and Fog.
- The Editor is slowed down when a Volume Profile with many Overrides is open in the Inspector window
- Lightmap "View" button is not symmetric and has an empty space
Resolution Note:
Fixed LocalizedString and LocalizedAsset trying to localize when they are empty.