When building on Windows 10 64-bit. for target windows it is freezing at step;
“Running command: haxe…release.hxml -D no_console”
it gives me no errors. but seemingly stuck there forever. (Seemingly, i only let it build for a hour or so).
Seems to be a problem for several projects. Possible problem with specfic ttf file?
is there more debugging information beside -verbose tag on build?
Yes, 4.5.2 build on Windows freezes with embedded fonts, I’ve switched to dev builds and it solves this issue.
However; in the dev builds, certain fonts from an swf will cause openfl to crash if set as static. Hope for a fix on this!
Yes i’ve run openfl rebuild tools ..Problem is also apparent in 4.5.2 i think.
It happens only with certain fonts, not really sure why.
I’v made an example project. Its the NyanCat project, and have changed nothing more than adding a static text in the swf. This crashes always for me. If i change the text to dynamic it runs fine. Hope you can reproduce the error.
Windows 10, c++ target, openfl/lime dev builds, hxcpp 3.4.43, Haxe 3.4 rc2
Here is the c++ call stack from debugging:
NyanCat.exe!Dynamic::Dynamic(const Dynamic & inRHS) Line 36 C++
NyanCat.exe!Array_obj::__get(int inIndex) Line 442 C++
NyanCat.exe!openfl::_internal::StaticTextSymbol_obj::_hx___createObject(hx::ObjectPtropenfl::_internal::swf::SWFLite_obj swf) Line 133 C++
NyanCat.exe!openfl::display::MovieClip_obj::_hx___renderFrame(int index) Line 597 C++
NyanCat.exe!openfl::display::MovieClip_obj::_hx___updateFrame() Line 733 C++
NyanCat.exe!openfl::display::MovieClip_obj::_hx___fromSymbol(hx::ObjectPtropenfl::_internal::swf::SWFLite_obj swf, hx::ObjectPtropenfl::_internal::symbols::SpriteSymbol_obj symbol) Line 372 C++
NyanCat.exe!openfl::display::MovieClip_obj::__construct() Line 140 C++
NyanCat.exe!openfl::display::MovieClip_obj::__alloc(hx::ImmixAllocator * _hx_ctx) Line 811 C++
NyanCat.exe!openfl::_internal::SpriteSymbol_obj::_hx___createObject(hx::ObjectPtropenfl::_internal::swf::SWFLite_obj swf) Line 90 C++
NyanCat.exe!openfl::_internal::swf::SWFLite_obj::createMovieClip(String __o_className) Line 142 C++
NyanCat.exe!openfl::_internal::swf::SWFLiteLibrary_obj::getMovieClip(String id) Line 213 C++
NyanCat.exe!openfl::Assets_obj::getMovieClip(String id) Line 333 C++
NyanCat.exe!Main_obj::__construct() Line 41 C++
NyanCat.exe!DocumentClass_obj::__construct() Line 48 C++