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
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
Resolution Note:
Importing the TMP Essential Resources is crucial for TMP to work properly.