Error when running a packaged game

I get this error when running a packaged project with build config of shipping.
I have tried to find fixes everywhere but could not fix it.

DPhs4tl.png