I have a scene, it works perfectly fine in the viewport, as well as playing in the viewport or standalone game from the editor. However, when I package there is extreme glitches and artifacts especially when I look towards the sun. I automatically suspected bloom. Turned it off and packaged again and no more glitches. Any idea why this happens??
Unchecking “enable pre-exposure only in editor” and leaving leaving apply pre-exposure before writing to the scene color" fixed the problem.
In case any one faces the same problem