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
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
Resolution Note:
Importing the TMP Essential Resources is crucial for TMP to work properly.