This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA
. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
Learn more...
Is Roblox crashing and giving you an "An unexpected error has occurred and Roblox needs to quit. We're sorry" message? Many variables, like corrupted caches, firewalls preventing Roblox from using the internet, and running without the right permissions, can cause this error. Read on to learn how to get rid of this message.
Common Causes for the "Unexpected" Error in Roblox
From temporary glitches to incorrect permissions, full or corrupt memory caches, and firewalls preventing internet connection, there are many reasons that Roblox will give you the "an unexpected error has occurred and Roblox needs to quit" message.
Steps
-
Roblox can't run properly without the correct permissions. Right-click the app icon and select Run as administrator . Repeat this process every time you open Roblox on your computer. You can make this a permanent change by right-clicking the icon and selecting Properties > Compatibility > Run this program as administrator .
- Skip this step if you use Roblox on the web and don't have a program installed.
-
This cache can get clogged and prevent other apps from working. Some Redditors have found that doing this helps the game run. [1] X Research source
- Open Disk Cleanup and use the drop-down menu to select your Windows Installation drive. Click Ok to continue.
- Check the box next to "Thumbnails" in the "Files to delete" section and click OK . If you check any other boxes, you can delete important data needed to run your game.
-
Windows Defender Firewall prevents apps from connecting to the internet. In this case, Roblox will crash with the "An unexpected error has occurred and Roblox needs to quit" error.
- To allow a program through the Firewall, open Windows Defender Firewall in Control Panel and click Allow an app or feature through Windows Defender Firewall > Change Settings .
- Check the box next to Roblox and click OK .
- If you have antivirus software other than Windows, you'll need to allow Roblox as well, or you can disable it. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
This feature can cause the error message when you're gaming. While it's better for security to keep this feature on, it will cause the "unexpected error" in games and plays better if this is turned off. If you don't have Windows 11, skip this step.
- To turn Memory Integrity off, open Windows Security (press Win + I and go to Privacy & security > Windows Security > Open Windows Security ).
- Click Device security > Core isolation and click the toggle under "Memory integrity" to turn it off.
- Restart your computer for the changes to apply. [3] X Research source
-
The app's downloaded files can be corrupted, causing this error message. Keep in mind that uninstalling the game does not delete your games; since it's cloud-based, you'll be able to play your games once you re-download the game and sign in.
- To uninstall on Windows 11, go to Settings > Apps > Installed Apps and click the three-dot menu to see a menu. Click Uninstall > Uninstall .
- To uninstall on Windows 10, go to Settings > Apps > Roblox > Uninstall > Uninstall .
- Once the game is uninstalled, go to the Roblox website to redownload the game.
Expert Q&A
Video
Tips
You Might Also Like
References
- ↑ https://www.reddit.com/r/RobloxHelp/comments/192jrad/roblox_crash_unexpected_error/
- ↑ https://support.microsoft.com/en-us/windows/turn-microsoft-defender-firewall-on-or-off-ec0844f7-aebd-0583-67fe-601ecf5d774f
- ↑ https://learn.microsoft.com/en-us/answers/questions/1616402/how-to-silently-dismiss-windows-security-memory-in