Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.37f1
2022.3.24f1
2023.2.18f1
6000.0.0b14
Issue ID
UUM-70214
Regression
Yes
NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Reproduction steps:
1. Create a new project with any template
2. In the Hierarchy window create “InputField - TextMeshPro” (UI-> InputField - TextMeshPro)
3. Enter the Play Mode without any other imports or modifications
4. Observe the Console window
Expected result: No error is thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” error is thrown
Reproducible with: 3.2.0-pre.1 (2021.3.37f1, 2022.3.24f1, 2023.2.0a13), 4.0.0-pre.2 (2022.3.24f1, 2023.2.0a13), (Built-in) 2023.2.0a14, 2023.2.18f1, 6000.0.0b14
Not reproducible with: 3.0.8 (2021.3.37f1, 2022.3.24f1, 2023.2.0a13)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround: Import TMP Essentials
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
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
- The "Install Packages" button misses tooltips that would explain its behaviors
Resolution Note:
Importing the TMP Essential Resources is crucial for TMP to work properly.