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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
Fixed LocalizedString and LocalizedAsset trying to localize when they are empty.