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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
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.).