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
- Hair is not rendered with water physics when overlapping with another GameObject
- SubScene AudioSources play audio automatically in Edit Mode when the Entities Graphics package is installed
- [Android] 30-45% of allocated memory is "Unknown" in an empty project on some Pixel devices
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
Resolution Note:
Fixed LocalizedString and LocalizedAsset trying to localize when they are empty.