Nape only works if we enable -dce full
! i guess this is a linux only issue! openfl/openfl#158
-dce full
affect all the classes used in the project, if you don't want some class to be affected, you need to use the keep method!
What was happening is: the class i wanted to use with FlxTypedGroup was not being instantiated with new! so, i guess, the 'dce' thought that it was not being used and remove it, passing a null type to the FlxTypedGroup recycle method!
I fixed it adding the class i want to use with FlxTypedGroup to the keep method!
Yeah, a lot of time to figure out this!