"Object reference not set to an instance of an object" problem [SOLVED]

Started by kinan___rod, Thu 27/08/2015 11:52:05

Previous topic - Next topic

kinan___rod

Hi, I suddenly started having this message (topic name) when compiling my game, Here is a screenshot
http://grab.by/JW5e

The message started occurring after I added a GUI button, looks like it is something similar to this post:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=47488.0

AGS did not crash though, but I still can't compile my game, should I panic because of this old post?

What can I do now? I don't have any recent backup for the game, recreating the entire game will take two weeks of work, it is not a total disaster but I surely prefer another solution.

Khris

Try removing the button, does that fix it?
Also, make regular backups!

Crimson Wizard

E: Sorry, nevermind, misunderstood something.

What AGS version are you using?
Does it display only that error, or any other on-screen messages?

The thread you referenced does not seem related; your error does not look like fatal Editor error, but rather some compiler bug. Cannot be more precise without having more details.
Better not to panic, but make a backup right now, and experiment, like Khris mentioned, to find out under which conditions this occurs.

kinan___rod

It is a beta version 3.402, it only displays the message.

No Khris, I removed the entire GUI, the problems is still there.

Crimson Wizard

Quote from: kinan___rod on Thu 27/08/2015 12:35:59
It is a beta version 3.402, it only displays the message.
3.4.0.2 was a rather unstable WIP version; can you try upgrading to latest 3.4.0.6 (make backup prior to this)?

kinan___rod

Oh god, thank you man You saved my life, the new version worked!

Crimson Wizard

We have posted a warning that 3.4 may still be buggy, and it is recommended to do backups regularily when using it.

SMF spam blocked by CleanTalk