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]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
- No blue outline is shown on a folder in the Project tab when an external file is being dragged over the folder
Resolution Note:
Fixed LocalizedString and LocalizedAsset trying to localize when they are empty.