Not sure, when this started, but with the latest version (6.1.0), one of my fonts was no longer loading. After some research, it seems this was due to capitalization (.TTF vs .ttf). Is this a bug or intended?
No, that’s not intentional. What target are you using? What kind of error do you get?
The following is for Flash, but it also happens on CPP/OSX.
Problem goes away once I change the asset extension and the references in code to lower case. This did not happen before, but I’m not entirely sure when it was introduced
[lime.utils.Assets] ERROR: There is no FONT asset with an ID of "assets/fonts/ASTER_H.TTF"
at lime.utils::Log$/error()
at lime.utils::Assets$/getAsset()
at lime.utils::Assets$/getFont()
at openfl.utils::Assets$/getFont()[/usr/local/lib/haxe/lib/openfl/6,1,0/openfl/utils/Assets.hx:119]
at VisiBeat/PlaceContent()[src/VisiBeat.hx:512]
at VisiBeat()[src/VisiBeat.hx:129]
at ASMLEngine/nextBeat()[src/ASMLEngine.hx:1358]
at ASMLEngine/processStory()[src/ASMLEngine.hx:3389]
at ASMLEngine/processStory()[src/ASMLEngine.hx:3366]
at ASMLEngine/processStory()[src/ASMLEngine.hx:3361]
at ASMLEngine/construct()[src/ASMLEngine.hx:752]
at ASMLEngine()[src/ASMLEngine.hx:263]
at ASMLEngine$/main()[src/ASMLEngine.hx:3778]
at ApplicationMain$/start()[bin/flash/haxe/ApplicationMain.hx:124]
at MethodInfo-230()[bin/flash/haxe/ApplicationMain.hx:95]
at lime.app::_Event_Void_Void/dispatch()[/usr/local/lib/haxe/lib/lime/5,4,0/lime/_macros/EventMacro.hx:101]
at lime.app::Preloader/start()
at openfl.display::Preloader/display_onUnload()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at openfl.display::DefaultPreloader/onLoaded()[/usr/local/lib/haxe/lib/openfl/6,1,0/openfl/display/Preloader.hx:234]
at openfl.display::DefaultPreloader/this_onComplete()[/usr/local/lib/haxe/lib/openfl/6,1,0/openfl/display/Preloader.hx:287]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at openfl.display::Preloader/start()
at lime.app::Preloader/updateProgress()
at lime.app::Preloader/loadedAssetLibrary()
at MethodInfo-1402()
at lime.app::Promise_lime_utils_AssetLibrary/complete()[/usr/local/lib/haxe/lib/lime/5,4,0/lime/app/Promise.hx:39]
at MethodInfo-3827()[/usr/local/lib/haxe/lib/openfl/6,1,0/openfl/_internal/swf/SWFLibrary.hx:137]
1 Like