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
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
- Context menus open on a different monitor when there are three monitors used
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
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.