Unexpected error occurred when running the game

unexpected error occurred when running the game
vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Помогите, пожалуйста. Долго потел над проектом, и тут такая гадость…
https://ibb.co/bQfTEJ
Если я удаляю любые 10 спрайтов (причём именно любые 10 анимированных), то игра запускается.
Как я понимаю, забивается память или что-то ещё, не знаю, это где-то 1000 спрайт по счёту, неужели гамак больше не потянет?
Обидно, и половины игры не сделал из задуманного(
GM 8.0 pro, если что


Записан
Fur

Абы-какой
GM Pro user
*

Репутация: 462
Online Online

Пол: Мужской
Antarctica Antarctica

Награды:
3000 сообщений!За постоянность! [500 дней на форуме]Третье место на HellRoom Jam #9 [Flucoldache]За лояльность! [+300 репутации]Настоящий игродел!Боже мой, посмотрите на эту медальку! Первое место на HellRoom Jam #6
API: Game Maker 8.0 Lite
Деятельность: Бурная.
Сообщений: 3673

Лисяток тебе.


Во-первых, ты точно уверен, что тебе необходима 1000+ спрайтов?
Во-вторых, ты б сюда ещё с шестым гамаком пришёл. Переходи на актуальные версии.


Записан

В одной отдельно взятой фразе не должно быть больше миллиона муравьёв, пусть даже она — научного труда о муравьях.

Hyperflex

vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Я понимаю, что 8ой гамак устарел, но уже начал на нём делать, к сожалению. И сделал очень много.
Экспортировать проект в другие версии не выходит. В 8.1 — та же ошибка, в GM Studio какие-то косяки с кодировкой или что-то вроде того.
И да, нужны все эти спрайты. В общем, как понимаю, решения этой проблемы нет? В принципе, я так и думал. Но очень обидно всё это бросать. Ну раз так, то так, что же поделать
Я просто не пойму, ну делают же люди тяжёлые проекты, и всё нормально. Есть вообще какие-то ограничения по спрайтам?


Записан
S_Kleer

GM Pro user
*

Репутация: 567
Offline Offline

Награды:
За лояльность! [+500 репутации]3 место в Дичайшем джеме #82000 сообщений!За постоянность! [50 дней на форуме]Настоящий игродел!2 место на HellRoom Jam #5, Контраст
API: GameMaker Studio 2
Сообщений: 2744


В GMS нет никаких косяков с кодировкой.


Записан

Коты — Мирители

vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


В GMS нет никаких косяков с кодировкой.

Ну когда я пытался открыть этот проект в GM Studio, почти все символы, набранные кириллицей, отображались в виде знака вопроса. Всё это переделывать нет никакого желания.


Записан
AndrewVideoGames

Главный Модератор
*

Репутация: 813
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

Награды:
За постоянность! [500 дней на форуме]За лояльность! [+750 репутации]5000 сообщений!За помощь новичкам!
API: GameMaker Studio Pro
Деятельность: А я кто? А я руководитель!
Сообщений: 7288


Ну когда я пытался открыть этот проект в GM Studio, почти все символы, набранные кириллицей, отображались в виде знака вопроса. Всё это переделывать нет никакого желания.

И где были эти символы, набранные кириллицей?


Записан
vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Ну когда я пытался открыть этот проект в GM Studio, почти все символы, набранные кириллицей, отображались в виде знака вопроса. Всё это переделывать нет никакого желания.

И где были эти символы, набранные кириллицей?

Ну например, в show_message или draw_text в коде, заключённые в апострофы, конечно.


Записан
AndrewVideoGames

Главный Модератор
*

Репутация: 813
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

Награды:
За постоянность! [500 дней на форуме]За лояльность! [+750 репутации]5000 сообщений!За помощь новичкам!
API: GameMaker Studio Pro
Деятельность: А я кто? А я руководитель!
Сообщений: 7288


Текст, на будущее, лучше хранить во внешнем текстовом файле, а в данной ситуации, если текста не очень много — можно просто копировать код в гм8 и вставлять в гмс.


Записан
Fur

Абы-какой
GM Pro user
*

Репутация: 462
Online Online

Пол: Мужской
Antarctica Antarctica

Награды:
3000 сообщений!За постоянность! [500 дней на форуме]Третье место на HellRoom Jam #9 [Flucoldache]За лояльность! [+300 репутации]Настоящий игродел!Боже мой, посмотрите на эту медальку! Первое место на HellRoom Jam #6
API: Game Maker 8.0 Lite
Деятельность: Бурная.
Сообщений: 3673

Лисяток тебе.


Да, кодировка кода сменилась. Однако вот так забивать прямо в код кирилицу — очень плохая практика. Все диалоги и им подобное должны быть в отдельных файлах, из которых игра загружает нужное. Комментарии же в коде надо писать на английском.

В общем, как понимаю, решения этой проблемы нет?

Если ты продолжишь не давать никакой информации по проекту — то да, решения нет.

И да, нужны все эти спрайты.

Не убедил. Для чего конкретно их используешь?


Записан

В одной отдельно взятой фразе не должно быть больше миллиона муравьёв, пусть даже она — научного труда о муравьях.

Hyperflex

vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Да, я нуб , я понимаю, что много уже сделал неправильно. Спрайты используются в качестве диалогов. Т.е. одна фраза — один диалог. Затем фраза исчезает (анимированный спрайт). Не рассказывайте, пожалуйста, насколько это тупо) Я уже начал так делать)


Добавлено: Июль 16, 2018, 22:35:15
В режиме отладки вылетает ошибка на процессе preparing graphics, если это о чём-то скажет


Записан
TheSlaylord529

Участник
****

Репутация: 4
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

API: GameMaker 8.1 Standard
Деятельность: Пока что новичок :)
Сообщений: 135


Случайно у тебя не стоит в каждом анимированном диалоге в событии Animation End ?
drag and drop: Destroy the instance
ИЛИ
GML (Execute a piece of code):

instance_destroy()


Записан


vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Случайно у тебя не стоит в каждом анимированном диалоге в событии Animation End ?
drag and drop: Destroy the instance
ИЛИ
GML (Execute a piece of code):

instance_destroy()

Да, точно так. Но дело в том, что если я просто загружу спрайт и не присвою его объекту, то всё равно вылетит. То есть в момент загрузки. Но да, у остальных таких анимированных спрайтов есть уничтожение по завершению анимации


Записан
AndrewVideoGames

Главный Модератор
*

Репутация: 813
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

Награды:
За постоянность! [500 дней на форуме]За лояльность! [+750 репутации]5000 сообщений!За помощь новичкам!
API: GameMaker Studio Pro
Деятельность: А я кто? А я руководитель!
Сообщений: 7288


Случайно у тебя не стоит в каждом анимированном диалоге в событии Animation End ?
drag and drop: Destroy the instance
ИЛИ
GML (Execute a piece of code):

instance_destroy()

Как ты вообще к такому выводу пришёл? Нуб нуба видит издалека?


Записан
vany200397

Посетитель
**

Репутация: 0
Offline Offline

Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 25


Как я понял, проблема в этом действии? Но дело в том, что если я даже удалю объекты и просто загружу n-ное количество анимированных спрайтов, то будет происходить вылет.
А вообще, иногда анимированные диалоги удаляются, а иногда меняются на другие.


Записан
AndrewVideoGames

Главный Модератор
*

Репутация: 813
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

Награды:
За постоянность! [500 дней на форуме]За лояльность! [+750 репутации]5000 сообщений!За помощь новичкам!
API: GameMaker Studio Pro
Деятельность: А я кто? А я руководитель!
Сообщений: 7288


Боюсь спросить, а какого размера эти 1000 спрайтов?


Записан

Remer1

Guest


  • #1

Hello. I am having a bit problem while running games in game maker 8. It only occurs sometimes. Mostly for my good games. When i click run after loading it would say an unexpected error occured. What is the problem?. The os is win xp 32 bit in game maker 8.

  • #2

So it works fine for your bad games?

Remer1

Guest


  • #3

most of my games are of small size . but dont know after a size of 10 mb it will show it. (comedy was good):p

Remer1

Guest


Remer1

Guest


  • #6

No.

We have no idea what the problem is, because you gave us nothing to go on.

Post the error message. If it’s a GM error, press the Copy to Clipboard button and post the error text here. If it’s a Windows error, screen shot it and use the Upload an Image button to post it. Tell us what version of Game Maker you’re using. Tell us exactly what you changed before the error started.

Yal

Yal

🐧 *penguin noises*


  • #7

‘unexpected errors’ are problems with the OS. Make sure you have enough system resources to run the games. AFAIK exporting executables and running those uses less resources than test playing with GM open, so that’s also worth a shot.

Remer1

Guest


  • #8

I tried an executable but nothing worked. In the game I only added some more scripts then it is showing it. I am using GM 8.0 and OS is Windows XP . I will post a screen shot

Remer1

Guest


Remer1

Guest


  • #10

please can anything be done with it?

  • #11

What are your PC’s specs? Given the tiny resolution of your monitor, it might be what Yal was getting at.

  • #12

Wow this is a throwback to 2008 when I was working hard to get my game to stay in the top 5 on the YoYoGames sandbox :p

Perseus


  • #13

please can anything be done with it?

As Yal said, » unexpected errors » are usually due to hardware or operating system limitations. Most common reason for that error message is the machine not having enough free memory to run the game. That happens mostly when you’re using large graphics and sound files. Does you project have any backgrounds or sprites that you think are quite large? Try removing them temporarily and run the game to see if it works. It it does, you should remove them permanently, bundle them with the game and load them externally at runtime. You should also try unticking the Preload checkbox for your audio files.

Remer1

Guest


Remer1

Guest


  • #15

I tried deleting some gifs and background tilesets but still it is showing. And also it showing one another thing, which i forgot to mention. I have never seen that message in other games i made which showed unexpected error. It is

upload_2017-3-21_14-13-21.png

Remer1

Guest


Remer1

Guest


  • #17

Please I want to continue it in the holidays

Remer1

Guest


  • #19

Windows XP 32 bit,750 MB ram,Intel pentium processor. Is this enough for the help?

  • #20

Disclaimer: Any following advice and actions are at your own risk. I do not accept any responsibility for problems if they occur. If you are not sure how to remove a virus or re-install your operating system, please contact an I.T. professional for help.

————

What Service Pack level is your copy of Windows XP?

Have you tried running your game on another computer? Try this and see if it gives the same error.

Do you have an antivirus software on your computer? Is it up to date?

Can you try running an antivirus scan on your PC?

The following article from Microsoft says your computer might be infected with the SubSeven Trojan virus:

Error Message: Runtime Error 216

These two pages have information about the virus and how to remove it:
1) Backdoor.SubSeven
2) Backdoor:W32/SubSeven

Another page I found by searching for the error message suggests the problem was with a software called «FolderView». Link: Runtime Error 216 at [address]

Do you have FolderView installed on your PC? If you do, try un-installing it and running the game again.

If you have time and know how to, you could try to re-install Windows XP on your computer.

  • #21

Game Maker 8 is not supported anymore by YYG, and Windows XP is not supported anymore by Mirosoft. That should answer all your questions.

hans80

Guest


  • #22

this would’ve helped me 5 minutes ago, so i’ll post it, since the last response annoyed me.
i had to convert my gm81 file to a gmk file (gm8) via converter
after i run the gmk file —> unexpected error occured.

the conversion screwed up the fonts.
the character range was way too high.
after you set it to normal, it worked like a charm :D

hope this helps somebody out there, who also struggles with this stupid version problem.

cheers

Roblox — это онлайн-платформа, на которой можно играть в миллионы игр. Это одна из крупнейших социальных платформ, на которой можно как создавать, так и играть в разные игры. Все, что вам нужно сделать, это установить клиент Roblox на свое устройство.

После этого вы можете создать профиль и сразу же начать играть в бесчисленные игры. Поскольку игроки могут создавать любые игры по своему усмотрению, вы можете ожидать, что некоторые из самых уникальных идей будут воплощены в играх Roblox. В Roblox есть все: от глупой пародии до совершенно невиданной ранее идеи в игре!

Завершите Roblox Lua: начните создавать игры с Roblox Studio (Udemy) Как исправить непредвиденную ошибку в Roblox?

Мы заметили, что ряд пользователей получают ошибка при попытке запустить любую игру через студию Roblox. По их словам, всякий раз, когда они пытаются запустить игру, появляется сообщение об ошибке: «Произошла непредвиденная ошибка, и Roblox необходимо выйти. Мы сожалеем!» происходит.

В этой статье мы дадим вам несколько способов решения этой проблемы. Итак, приступим!

Убедитесь, что все обновлено

Большинство пользователей, столкнувшихся с этой проблемой, похоже, использовали более старую версию клиент. Вот почему после обновления они решили проблему. Вот почему мы также рекомендуем вам проверить версию, которую вы используете в данный момент. Если это более старая версия, попробуйте обновить ее. Также может быть, что более новая версия вызывает проблемы, для устранения которых вам, возможно, придется попробовать предыдущую версию.

Аналогичным образом убедитесь, что все остальное, например, ваши драйверы, обновлено. В противном случае обновите их вручную.

Запустите Roblox от имени администратора

Иногда приложение может начать работать, если в нем нет необходимых разрешения из Windows. Чтобы этого не произошло, пользователи могут запустить эту программу от имени администратора.

В вашем случае Roblox также может страдать от той же проблемы. Попробуйте запустить Roblox от имени администратора, чтобы узнать, поможет это или нет.

Переустановите Roblox

Если у вас есть поврежденный или отсутствующий файл в Roblox, не даже отдельная игра будет работать правильно. Это заставляет нас думать, что что-то не так с текущей версией. Если это так, то все, что вам нужно сделать, это выполнить новую переустановку.

Для этого вам сначала нужно полностью стереть Roblox со своего компьютера. После того, как вы это сделаете, продолжите установку последней версии Roblox.

Итог

Вот 3 способа исправить “ Произошла непредвиденная ошибка, и Roblox необходимо закрыть. Мы сожалеем!». Если ни один из этих шагов не помог, мы рекомендуем обратиться в службу поддержки Roblox за дополнительной помощью по этому вопросу.

YouTube видео: 3 способа исправить неожиданную ошибку в Roblox

Источник

Super Easy Tutorial To Fix Unexpected Errors on Roblox

If you are facing Unexpected Errors On Roblox,

Please enable JavaScript

You might be frustrated and wondering what exactly is causing these unexpected errors.

I will help you fix these errors through 7 different solutions.

Follow the upcoming solutions and continue gaming on your favorite platform and say bye to such errors.

7 Solutions to fix Roblox Unexpected Error

7 simple and easy solutions will fix the Roblox Unexpected Errors like:

Error | An unexpected error occurred.
Please try again later

Network issues can cause problems, and disabling proxies can help you. Let’s get started with the most suspected issue.

Now let’s head to a solution without any further delay.

Video Guide: Super Easy Tutorial To Fix Unexpected Errors on Roblox

Solution 1: Disabling Proxies To Fix Unexpected errors on Roblox

There are several programs, including Roblox, that do not work well and do not start. Therefore, we will disable any kind of proxy and try to start Roblox again.

  • Press Windows + R, type “inetcpl.cpl” in the dialog box.
  • Press Enter to and the Internet Properties window will appear.
  • Click on the Connections tab at the top and select “LAN Settings” at the bottom.
  • Now, uncheck any type of proxy on your computer.
  • After saving the changes, restart your browser and see if you can access the platform.

Make sure you have an open internet connection.

You can easily verify this by entering the same game from your mobile or another computer. If the problem is with your internet connection, be sure to solve it first.

Solution 2: Disabling Antivirus Software To Fix Unexpected errors on Roblox

Antivirus software like Avast, McAfee, and others might cause problems with Roblox as the game requires uninterrupted access to the internet. Antiviruses may block access to the game.

Therefore you can try temporarily disabling Antivirus and check if this will help to fix your problem.

How to Temporarily Disable Avast Antivirus?

If you want to turn off Avast or temporarily disable the antivirus on your PC or laptop, follow these steps:

  • Go to theTaskbar at the right side of the window and find the orange icon of Avast.
  • Then, right-click on the icon and find “Avast Shield Control”.
  • Now choose the open for how long you want to disable Avast.
  • After choosing, click “Yes” when the Avast popup window appears.
  • It’s Done, you can disable Avast for as long as you choose.

If this process will not help you then go back and “Enable” Avast Antivirus.

Alternative: Disable Windows Defender

  • Go to Start Menu and type “Windows Security”. Press Enter
  • Click on “Virus & threat Protection
  • Scroll down to “Virus & threat protection” settings and then click “Manage settings”.
  • Click on the toggle to turn off the Real-time Protection of Windows Defender Antivirus temporarily.
  • Click Yes when the pop-up window appears to confirm the change.

Now go back and check if the issue with the software is resolved.

If still the error persists then proceed to the next solution to solve Roblox Unexpected errors.

Solution 3: Adding Roblox to Firewall exceptions To fix Unexpected errors on Roblox

Although Microsoft officially released Roblox in its store, it might be blocked by the Windows firewall. This usually happens if a new Windows update along with a security update. We can try to add an exception to the firewall and see if that works.

How do you turn off firewall on Roblox?

  • Go to the Start menu or press the Windows button
  • Type “Firewall & network protection” in the search box and open Firewall Settings
  • In the Firewall settings, click on Allow an app through the firewall
  • Now click “Change settings” and then check the browser and game on public and private networks

App not on the list?

Click on Allow another app button by providing its path.

This will add your app to the white list.

Solution 4: Try a different browser to Fix Unexpected Error on Roblox

If you use one browser to play, try another and see if it launches there. If so, Then you need to delete all cookies & cache, and temporary data from your current browser.

If this solution is no help then proceed to the next solution Unexpected errors on Roblox.

Solution 5: Reset your router To fix Unexpected errors on Roblox

Before resetting your router try restarting it. Sometimes routers get stuck in the wrong configurations, and resetting them can give you a new IP address and solve the problem.

How do I power cycle my wifi router?

Here is how you can power cycle the Wifi router:

  1. Turn off your router completely by taking out the power cable from the power switch
  2. Now leave it for 5 to 10 minutes and then plug it back in
  3. And check if this will Speed Up Your Internet Connection on WindowsMake sure all devices which are affected in the process are accurately fixed back

After power cycling the router if there is no effect on the error then you have to update the Wifi drivers to eliminate “Unexpected errors on Roblox”.

Solution 6: Run the game in compatibility mode to Fix Unexpected errors on Roblox

Go to the Search box on the left of the taskbar, enter the name of the program or application that you want to terminate.

  • Select and right-click it, and then select “Open File Location
  • Right-click the program file, select “Properties“, and then go to the “Compatibility” tab
  • Select Run Compatibility Troubleshooter

Solution 7: Reinstall the Game To fix Unexpected errors on Roblox

If you are using a Windows application, it is wise to reinstall the game.

Delete temporary files to remove any previous trouble-causing cache/data. You can delete it (Windows + R and type appwiz.cpl), delete all temporary files, and after downloading the latest version install the game again.

Conclusion:

Hope all of the above Roblox solutions will help you to fix Unexpected errors on Roblox.

Share your experience in the comment section down below.

Источник

Are you getting an unexpected error has occurred in Roblox? Roblox has been out for some time now and it is a very popular game. In fact, it was initially released on 1st September 2006! But just because it has been out for a very long time does not mean that the game is not going to have its problems, as everyone’s system is different. This can lead to all sorts of different crashes, connection issues, or in the case of this guide, an unexpected error.

The message will pop up on your screen when you are trying to play Roblox on your Windows PC or laptop and will say something along the lines of “An Unexpected Error Occured And Roblox Needs To Quit. We`re sorry“, and your game will usually crash.

Below we have put together different methods that you can do that will hopefully fix the unexpected error message that you are receiving when trying to play Roblox games on your Windows 10/11 computer.

It is important to ensure that your system does meet the Roblox PC minimum system requirements, as if it does not then you are going to run into issues, FPS problems, and it could very well be the reason why you are getting this Roblox PC crash error.

What If The Methods Don’t Work?

If the below methods do not fix the unexpected error message that you are getting when trying to play Roblox, then ensure that everything on your system is up to date and if everything is then you might need to reset Windows.

Why Am I Getting Unexpected Error When Playing Roblox?

There can be many reasons why you are getting the unexpected error on your PC. It could be that the game you are trying to play within Roblox has a bug that is causing the game to crash, or it could be one of the game files that are used for the Roblox player has become corrupt.

Unfortunately, you will not know the exact cause as it does not give an error code when the error message is displayed.

Related: Fix Roblox “some studio files are missing or corrupted”

How To Fix Roblox PC Unexpected Error Message:

Below are the steps for fixing “An Unexpected Error Occured And Roblox Needs To Quit” on a Windows 10 or Windows 11 PC.

After trying each method try launching Roblox and see if it resolved the issue, if it did not then move on to the next method.

Fix 1: Restart PC or laptop

This can resolve so many issues, even if it sounds really simple. So go ahead and restart your computer and hopefully you will no longer get the crash error in the Roblox game.

Fix 2: Try a different game within Roblox

It could be an issue with the game you are currently playing, so try a few different ones within Roblox.

Fix 3: Reset Internet Options

  • Open your Windows start menu and search and open Internet Options
  • Click on the Advanced tab > Click on Reset…

Selecting Reset in Windows internet options

Fix 4: Lower in-game graphics

If your system is struggling with higher graphics then it could cause an unexpected error so lowering them could help:

  • Launch Roblox and then enter into a game
  • Press ESC or click on the Roblox logo in top left-hand corner and then go to Settings
  • Change the Graphics mode to Manual
  • Adjust the Graphics Quality

Lowering the graphics settings in a Roblox game

Fix 5: Uninstall Roblox

  • Open File Explorer and type the following in the address bar and press enter: %localappdata%
  • Rename the Roblox folder to something else like Robloxbackup (If the Roblox folder does not exist just uninstall the game)
  • Now uninstall Roblox by Right-clicking on the start menu and select Apps and Features
  • Now search Roblox then select it and uninstall
  • Once you have uninstalled the game go ahead and reinstall it on your PC

Uninstalling Roblox app in Windows apps and features

Fix 6: Use a different web browser

If you are using the web browser version of the game then try another browser to see if a particular one is causing you the Roblox crash issue.

Fix 7: Try the Roblox app version

This only applies if you are using the web browser version of Roblox. If you have already tried different web browsers then try out the Roblox player Microsoft Store version.

There you have it that’s how you can fix the Roblox “An Unexpected Error Occurred And Roblox Needs To Quit” error when trying to play Roblox on your Windows PC or laptop.

If this did not help resolve the issue then you could always take a look at our fix Roblox crashing guide for more methods.

Also, if you did find this guide helpful then we are sure you would like our other gaming guides.

Check out our YouTube video here on How To Fix Roblox Unexpected Error Occurred and Roblox Needs To Quit, if you are getting stuck.

Check out our latest guides:

Понравилась статья? Поделить с друзьями:
  • Unexpected error occurred refresh this page and try again
  • Unexpected error occurred in scheduled task перевод
  • Unhandled error occurred while connecting
  • Unexpected error occurred in progress of applying patch
  • Unhandled error golang