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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
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.