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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
Importing the TMP Essential Resources is crucial for TMP to work properly.