Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.3.1p4
Issue ID
1042037
Regression
No
[TMPro] Setting char array of size 0 via SetCharArray does not clear text
To reproduce:
1. Open the attached project (SetCharArray.zip)
2. Enter Play mode
3. Press Space
4. Observe that the text still says "Hello World"
Expected: calling SetCharArray (new char[0]), SetCharArray (new char[] {}) or SetCharArray (string.Empty.ToCharArray ()) should clear the text
Reproduced in 2017.3.1p4, 2017.4.7f1, 2018.1.8f1, 2018.2.0f2, 2018.3.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Add comment