5.0 always crashing when porting my project

This might work for you