Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4.0f1
2019.1.0b4
2019.1.4f1
2019.2.0a6
2019.3.0a1
Issue ID
1167075
Regression
No
Loading TextMesh Pro prefab from AssetBundle crashes Editor when BuildAssetBundleOptions.DisableWriteTypeTree option is used
How to reproduce:
1. Open attached "project-1167075.zip" project
2. In the Editor select "BuildAB" -> "Build"
3. Enter Play mode
4. Press "LoadAB" button
Expected result: TextMesh Pro prefab is loaded, Editor does not crash
Actual result: Editor crashes
Reproducible with: 2018.4.3f1, 2019.1.9f1, 2019.2.0b8 ,2019.3.0a8
Could not test with: 2017.4.0f1, 2017.4.29f1, 2019.1.0a1, 2019.1.0b3, 2019.2.0a1, 2019.2.0a5 (TextMesh Pro prefab gets corrupted in older than 1.4.0 TextMesh Pro package versions)
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (2020.1.X):
The issue is caused by the user stripping away necessary information for the Serialization System to properly de-serialize the data. TextMeshPro uses Editor only fields which are also serialized. When we try to de-serialize the raw binary data, without the TypeTree information, the serialization system will not know how to map the data correctly, leading to a crash.
The workaround is to write the TypeTree when in Editor.
The fix we have at the moment is to document this behavior.