Packaged Game crashes on startup, but the editor works fine.

Packaged Game Crashes on starting the exe file, but works fine in the editor. The problem is with my blueprint that is using a dynamic material instance. It works as intended in the editor, but crashes in the packaged game when it hits RHIUpdateTexture2D line in code.
Here is the log, and i can also update the project if needed. any help will be greatly appreciated, as our deadline day is very near now.

Hey ,

Thank you for taking the time to report this issue, and we appreciate your patience while awaiting a response. In order to assist you in an effective manner, we would like to see if you are still experiencing the issue you are reporting in engine versions 4.8.3 and/or 4.9.2?

If so, would you mind providing some simple steps, screenshots, or any other relevant pieces of information to help us reproduce the issue on our end?

If you are experiencing a crash or a major bug, we ask that you take a look at our ‘How to Report a Bug’ sticky post on our Forums. It will give you all the correct instructions on how to make an official bug report on the AnswerHub, including the information needed in order to move forward with the reporting/troubleshooting process.

Please do not hesitate to ask questions or post any new comments in regards to the issue.

Thank you,