Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.3f1
Issue ID
853494
Regression
No
AssetBundle can't load from assetbundle variant
"Inconsistent asset when sorting preload assets (Same path & file ID)" when exporting asset bundles if all fonts are the same name.
"Font texture for dynamic font Font is missing. Please reimport the Font. All dynamic fonts created with earlier Unity 3.0 betas need to be reimported." When trying to load asset bundles. Note: Second error does not occur all the time.
To reproduce:
1. Open "sample" scene.
2. Build assetbundle "menu->AssetBundle->Export"
Note: "Inconsistent asset when sorting preload assets (Same path & file ID)" is thrown in the console window.
If you rename font files in the project to be different from each another the error disappears.
3. Enter play mode.
Note: "Font texture for dynamic font Font is missing. Please reimport the Font. All dynamic fonts created with earlier Unity 3.0 betas need to be reimported." is thrown in the console window.
If you remove line 7 ([SerializeField]) in LoadPrefabFromAssetBundle script, then let Unity to compile the code, and then write [SerializeField] again and let Unity to compile the code, second error magically disappears, Unless you try to use other then "Bold" font type in LoadPrefabFromAssetBundle script.
Project is attached to this letter.
Reproduces with: 5.6.0a6; 5.5.0f3; 5.4.3f1; 5.4.0f3; 5.3.0f4
Comments (2)
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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
oliverjake
Feb 28, 2022 08:53
ditor simulation. A bool defines if we load asset bundles from the project or are actually using asset bundles(doesn't work with assetbundle variants for now.).