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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.).