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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
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.).