Metroid Dread has just received a new update to fix a specific glitch which made the game crash near the ending, along with some other unspecified issues.
General Fixes
- Fixed an issue where, if a map marker is placed on a specific door on the map screen (the door destroyed with the beam obtained at the end of the game), destroying that door at the end of the game would cause the game to forcefully quit with the message “The software was closed because an error occurred”.
- Fixed several other issues to improve overall gameplay experience.
Source: Nintendo Support