Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Unity game build crashes when performing specific action

A topic by Fluff Industries created Jun 02, 2024 Views: 84 Replies: 1
Viewing posts 1 to 2
(1 edit)

I created a build of my game in Unity and tried playing it, but whenever I fire my in-game weapon (it's a first person shooter), the game crashes. The log file generated by the crash says "Attempt to access invalid address" multiple times and gives me multiple offending addresses. How do I go about seeing what these addresses correspond to and making it so the weapon works without crashing the game? Everything works fine when running the game in the Unity editor.

Submitted

Maybe you try to fire a bullet or use other object that has been deleted.