Search Issue Tracker
Fixed
Votes
3
Found in [Package]
1.0.0-pre.9
Issue ID
LOC-209
Regression
No
"SelectedLocale is null" error is thrown when accessing a Localization.LocalizedString within Update and then exiting Play Mode
How to reproduce:
1. Open the attached project "LocalizationException.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode
4. Exit Play Mode
Expected result: No errors in the Console window
Actual result: "System.Exception: SelectedLocale is null" error is thrown in the Console window
Reproducible with: 1.0.0-pre.9 (2019.4.28f1, 2020.3.12f1, 2021.1.12f1, 2021.2.0b1)
Could not test with: 0.3.1-preview (2018.4.36f1, 2019.4.28f1, 2020.3.12f1, 2021.1.12f1, 2021.2.0a18; compilation errors in the Console window)
Notes: Does not reproduce when the script is used in OnEnable
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Peter77
Jun 26, 2021 04:32
Related forum thread:
https://forum.unity.com/threads/after-update-to-1-0-0-pre-9-system-exception-selectedlocale-is-null.1123108/