Search Issue Tracker
Won't Fix
Votes
1
Found in
5.4.0p1
Issue ID
824969
Regression
Yes
Custom font turns black after building process finishes
Steps to reproduce:
1. Open attached project
2. Build or Build and run
3. Enter play mode right after building finishes
Actual: all customs fonts turn black
Expected: they should be white
Reproduced: 5.4.0p2, 5.5.0a6 (can be worked around by saving scene)
Not reproducible: 5.3.6p2 (it turns black, but updates itself right before entering play mode)
Comments (1)
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
- Scene view is not outputting HDR when the "Use HDR Display Output" option is enabled, DX12 is selected as the Graphics API, and URP/HDRP is in use
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
- Warning “CommandBuffer: built-in render texture type 3 not found while executing (SetRenderTarget depth buffer)“ is present when opening a specific URP project
hht
Aug 24, 2016 11:26
Reproduce:
In EditorWindow script, in void OnGUI:
------------------------------------------
if (GUILayout.Button ("Find")) {
for (int i = 0; i < Selection.objects.Length; i++) {
string tmpa = AssetDatabase.GetAssetPath (Selection.objects [i]);
if (tmpa != null && tmpa.Length > 0) {
string[] aaa = AssetDatabase.FindAssets ("ref:" + Selection.objects [i].GetInstanceID () + ":" + tmpa);
for (int j = 0; j < aaa.Length; j++) {
prefList.Add(AssetDatabase.GUIDToAssetPath(aaa[j]));
}
}
}
prefList.Sort ();
Finded = true;
Repaint ();
}
-----------------------------------
Where prefList is List<string>
Can be worked around by reimport font (RMB on font asset in Project -> reimport)