My game crashed

Started by Marion, Sat 13/09/2025 16:27:19

Previous topic - Next topic

Marion

Hello, I was working on my new game. Everything worked just fine until today. I launched it and then get this error message. Here is the message and the CrashInfo.3.6.2.12.dmp file...
Thank you in advance ♥



https://drive.google.com/file/d/1fWmFKtAM5xJiAGUGIBcnPEE7GrYInhQN/view?usp=sharing

Crimson Wizard

Please tell what is happening in your game when this crash occurs?
Do you get this crash every time you run the game?

I will need your game's exe in order to read the crash dump.

Marion

I succeeded in fixing this by using an old sprites backup, I guess it was when I changed some sprites.
But now it does it again even when i didn't touch the sprites. I don't understand.
The game said "the character cChar1 uses the view 109 that has no frame", but there is no view 109... and then the same error message and crash, every time I try to launch the game.



here is the exe : https://drive.google.com/file/d/130BprXeWYSwIhliJMWrlOv979esvndrQ/view?usp=sharing

Crimson Wizard

#3
The crash itself, apparently, occurs when the engine is trying to access a View that does not exist, when its value is high enough. This crash was fixed in the latest 3.6.2 patch: https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-3-6-2-patch-3/
But if the character was assigned a non-existing view, then the game will be stopped and a error reported anyway.

The question remains, how did it end up with a non existent view.

Marion

Thank you! Yes, I asked myself the same question...

Crimson Wizard

How many views does your game have, what is the topmost number?
Does this crash happen when you start a new game, or after restoring an existing save?

Marion

Only one view, I don't use any, only unanimated objects.
The game crashed only when I tried to reach one room, it works well when I go to the other rooms.
I have re-made the exact same room, same sprites, same code, and it works. Total mystery...

Crimson Wizard

Quote from: Marion on Yesterday at 07:25:49The game crashed only when I tried to reach one room, it works well when I go to the other rooms.
I have re-made the exact same room, same sprites, same code, and it works.

Could it be that you had "PlayerCharacterView" set in that room?

SMF spam blocked by CleanTalk