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
- Crash on PlayableGraphBindings::DestroyOutputInternal when entering Play Mode in a specific project
- Editor Freezes when instantiating TMP text formatted with rich text tags in non Latin languages
- Crash on YAMLRead::TransferTypelessData when opening a specific project
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
Resolution Note:
Importing the TMP Essential Resources is crucial for TMP to work properly.