What we know
No. No railgun has been confirmed in GTA VI, and there is no reliable report of one in the released game. No launch-week weapon list includes a railgun, and Rockstar has not named one. The Widowmaker is not in GTA VI either — it is a GTA Online weapon from the Arena War update (January 2019), a plasma machine gun that fires red lasers. It has no confirmed appearance in GTA VI. The only heavy weapon confirmed in GTA VI so far is the grenade launcher, which Lucia fires in Trailer 2. A dedicated check of RPG and minigun reports reached the same dead end: no source shows a rocket launcher or minigun in the released game, and no shop, mission or pickup location has been published for either. What to do: do not trust leak-based weapon lists that name a railgun — the 2022 leaked footage is not a reliable guide to the finished game. If a railgun is found in the released game, this answer will be updated with the location and method. Until then, the grenade launcher is the heaviest weapon you can actually get — see our grenade launcher and rocket launcher guide: https://freeroam.fyi/guides/gta-vi-grenade-launcher-rocket-launcher-how-to-get
Editorial support reference, not an official Rockstar support response. If the issue continues, report the exact error, platform, game version, and checks already attempted to official support.