Sorry for wasting your time, I've found the main issue, it is not an optimization problem. I wil fix it later. Thank you for inform this issue.
This crash happen when you use low quality settings.