Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0b11
Issue ID
1101595
Regression
No
[Improved Prefab] Null reference exception thrown on entering Prefab mode while working with 3d TextMeshPro-Text
"NullReferenceException: Object reference not set to an instance of an object" exception is thrown in the console on entering prefab mode after adding 3D TextMeshPro -Text as a child in Prefab Instance.
Steps to repro:
1. Create a Cube Prefab.
2. In Hierarchy select Cube Prefab instance > Right Click > 3D Object > TextMeshPro - Text.
3. Select Instance > Overrides > Apply All.
4. Enter Prefab Mode.
Actual Result:
Null reference and missing reference exception occur.
Expected Result:
Prefab mode should be opened without any error.
Reproducible in:
2019.1.0a9, 2018.3.0b11, 2018.3.0b1, 2018.3.a6.
NOTE: Improved Prefab has been introduced in 2018.3.0a6.
Environment:
Windows & MAC.
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (2018.3.X):
This behavior occurs because the TMP Essential Resources have not been imported into the local project.
These resources must be imported in the local / user project prior on first use / creation of any TextMesh Pro components.
As seen in the video when the TextMesh Pro component is first added, a window / dialogue shows up informing the user the TMP Essential Resources need to be imported. Failure to do so will result in errors.
These errors can easily be avoided by simply importing the TMP Essential Resources.