Part 1 of 2
Since all of these problems started after upgrading your 13-inch M5 MacBook Air with 16 GB of memory from macOS 26 to macOS 27.0,
I would start by installing the latest available macOS 27 update and restarting the Mac.
Apple recommends keeping macOS up to date because updates can include bug fixes and other improvements. Update macOS on Mac
Before testing Resident Evil again, check System Settings >> General >> Storage to make sure there is sufficient free space.
If the game starts slowing down while the Mac is still responsive, open Activity Monitor and check CPU usage and Memory Pressure.
That may provide useful information about what is happening when the slowdown begins. View Activity Monitor on Mac
The Resident Evil issue is particularly worth documenting because you report that it previously ran for 1–2 hours without the problem under macOS 26, but now slows down after about 15 minutes under macOS 27 and eventually leaves the Mac unresponsive before it shuts down.
Since the Mac is shutting down unexpectedly, disconnect any non-essential external devices and test again.
If it still shuts down, run Apple Diagnostics. If your Mac restarted because of a problem Use Apple Diagnostics to test your Mac
It would also be useful to test the Mac in Safe Mode. Apple says Safe Mode can help determine whether software that loads during startup is contributing to a problem.
For the Mission Control lag, try it immediately after restarting, before opening Resident Evil or another demanding application.
That may help show whether the problem occurs independently of the game.
For Safari, since other websites work but YouTube does not, first try YouTube in a Safari Private Window.
Apple also recommends checking Safari extensions, website data, Private Relay, VPNs, and other network or security software when a particular website does not work correctly. If Safari doesn't work as expected on Mac
If YouTube still does not work, try the same video in another browser on the Mac.
If possible, also try YouTube on another device using the same internet connection. That can help narrow down whether the problem is specific to Safari or involves YouTube or the network connection.
At this stage, I would not assume that all of these problems have one cause, that macOS 27 is responsible for every symptom, or that the shutdown is caused by heat.
There is not enough information yet to establish any of those explanations.
If the Mac shuts down again, note exactly what happens immediately beforehand and whether macOS reports that the Mac restarted because of a problem.
Any Apple Diagnostics result or other diagnostic information would also be useful.
Overall, the fact that the problems appeared after the macOS 27 upgrade is important, but the individual symptoms should be tested separately so the actual cause can be narrowed down rather than assumed.
Part 2 of 2
To avoid a game of 20 questions
Download the Application Etrecheck ( External Link ) directly from the Developer.
This is a Diagnostic Tool that makes no changes to the computer.
It makes a coherent and readable inventory of both the Hardware and Software used on the computer
The application is free or paid for added features.
The Report will Not Reveal Any Personal Information.
Post back the Full Report - Share Report >> Copy , then paste >>>> using the Additional Text Icon <<<<
