ararod05

Villager
Member
Joined
Oct 3, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Hello,

I am doing an autosave, it saves on start of each map. I just created an event with a script call.

DataManager.saveGame(1)It saves properly, but when I try to load it I get the error: Type Error: Cannot read property 'name' of null

Please, can someone help me?

Best regards.
 
Last edited by a moderator:

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,310
Reaction score
11,489
First Language
German
Primarily Uses
RMMV
I've moved this thread to Learning Javascript. Please be sure to post your threads in the correct forum next time. Thank you.
 

izyees

My Secret Santa
Regular
Joined
Oct 24, 2015
Messages
252
Reaction score
70
First Language
english
try clearing your save files, make a new game and then save and load as normal.
 

ararod05

Villager
Member
Joined
Oct 3, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
I had no file saves and when this error showed up for the first time...

Anyway i did what you said and did not work...
 

izyees

My Secret Santa
Regular
Joined
Oct 24, 2015
Messages
252
Reaction score
70
First Language
english
does it do the same when you save as normal? from menu.
 

ararod05

Villager
Member
Joined
Oct 3, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
No, it loads normally.
 

jamespedid

Regular
Regular
Joined
Jun 10, 2013
Messages
30
Reaction score
3
First Language
English
If you open up the game in the browser (Chrome), you can view the backtrace of the error and try and figure out what happens. To do this, open the game in the browser and continue to the point where you are getting the null error.

Right before the null error occurs, open the developer tools in Chrome (F12) and click on the sources tab. When the error occurs, you should see a list of calls in the console. Investigate.
 

Latest Threads

Latest Posts

Latest Profile Posts

My game just got 35k downloads on Steam! Thank you everyone for helping me achieve this goal guys, I hope more people know more about Phil Alone!
I was wondering why Skyler's hair looked weird on their new sprite. Well I forgot adding their iconic hairband
Anyone up to give Holder, TRIDIUM, GenericFantasyDev and Black Mage the fight of their lives?
Go ahead.
"The internet made everyone way too comfortable with disrespecting each other and not getting punched in the face."
I woke up a touch early and was going to draw by the fireplace until it’s a more appropriate noise-making time, but I left my stylus AND my glasses (WHAT?!) upstairs and it’s just too cold to get out of the blanket now.

Forum statistics

Threads
134,878
Messages
1,251,485
Members
177,676
Latest member
Sundeviljw
Top