The almighty 'Unexpected error'

Posted by v38 on June 10, 2007, 7:32 a.m.

I hope everyone who reads this knows the drill. You read about a fantastic looking game, you download it, only to find when you run it, it announces with sadistic glee 'Unexpected error occured when running the game'.

Some people believe its a graphics card thing, sometimes a directX thing. For a lucky few of us, it turns out to be a sound thing.

I have already done this on both my own pcs and managed to fix the error for a friend on his aswell using this simple method: (note: I'm using windows XP instructions, but hopefully you other OS users can figure it.)

Go into Control Panel - Sounds Speech and Audio Devices.

Click Sounds and Audio Devices.

At the bottom there should be a sector named "Speaker Settings", hit the advanced… button under this.

It should come up with Advanced Audio Properties, there should be at the bottom a "Speaker Setup:" option, set it to "No Speakers".

There! You're done! If this works you should still be able to hear sound, and no longer error in game maker. Should this not work for you, I appologise, it will then likely be a Graphics card or DirectX error.

In other news, Bounce's World, my awsome project, is getting near to completion, I've just finished the final boss, I have very little left to do now! Unfortunately, I'm being distracted by Sapphire Tears a lot, I've finally managed to hold an SSS rank overnight. Go me!

Comments

Jaakko 16 years, 10 months ago

NOOO! not ST again…

WaleedAmer 16 years, 10 months ago

I believe it says, "Unexpected Error".

DFortun81 16 years, 10 months ago

That particular error is shown whenever resource memory goes over a certain percentage of the user's RAM. I am not sure though, I was once able to load a 50MB GM exe on this computer.

s 16 years, 10 months ago

So my code wasn't at fault in pxd?Should of suspected the use of a WMA…

noshenim 16 years, 10 months ago

another version of this error is a possible gm7zip fault.

s 16 years, 10 months ago

@Player=How many GMZs have you used?

Grix 16 years, 10 months ago

It happens to me if I try to run any GM game while running "ZD Soft Game Recorder".

v38 16 years, 10 months ago

@Amer Oh snap, I'll edit it right now.

Damn, there seems to be so many causes! It'd be helpful if it gave even the slightest hint as to what the issue was, I only found out by downloading "lite" versions of games and transfering the settings then trying to run sound. We need a list of all the possible errors somewhere really.

s 16 years, 10 months ago

Ya,I think if you put instance_destroy() or instance_change() in the destroy event,it has one of those

And I think I got another when I made a script call itself…but then that didn't happen in XFER,which is odd