Cannot read property 'render' of null (from the independent game)

I have been notified of this error, someone who tried to test the demo, which leaves me confused, I read something about moving files gave that error?
Also there are two gameplay and I haven't had the problem reported before, so I don't know where to start looking.
Thanks!
1649629639613.png
That doesn't immediately read as a file problem - you would typically get a cannot load error before you got an error for reading a property of the file that doesn't exist.

You can't duplicate this problem on your own? Even with the deployed game?
That doesn't immediately read as a file problem - you would typically get a cannot load error before you got an error for reading a property of the file that doesn't exist.

You can't duplicate this problem on your own? Even with the deployed game?
Thank you for replying!
I wrote to the one who had the problem, so that he can give me more info, if it happened somewhere in particular.
On my account now the demo is bigger and at least this problem has never happened to me (but others that I read about -and they were indeed- problems with the saved games).
Every now and then I play it again from the beginning.
I haven't downloaded my own game and play it separately, when I'm home I'm going to do that.
The others have reported small bugs from transferring things and such, but nothing as serious as a crash like this.
have you given out only one version of the demo, or have you updated your demo several times?

the error basically says that the engine was given a reference that no longer exists in the game.
and one of the ways that can happen is when a savefile from an old version is continued under a new version.
There are quite a number of changes where the player is required to start a new game because the change makes older savefiles incompatible.
have you given out only one version of the demo, or have you updated your demo several times?

the error basically says that the engine was given a reference that no longer exists in the game.
and one of the ways that can happen is when a savefile from an old version is continued under a new version.
There are quite a number of changes where the player is required to start a new game because the change makes older savefiles incompatible.
That's what puzzles me, I even published the demo here; it's a short demo, since it's my first game I preferred to keep it short so if there was a big problem and I had to start again, it wouldn't be a problem.
Now, the demo is the first one I release, there is no update (I'm working on that), so it's the same version for everyone, a couple of people uploaded videos playing it; a forum user gave me a list of bugs and things he didn't like, a friend the same, but it was functional.
Now I found that report, but there should be no previous saves, let's say that demo is the most "virgin" of all.
Well, by default the only things in MZ with a render method are tile layers and window layers. I don't even know what you could do to end up with a null reference to one of those.

Of course, that's default and it's possible that something you added via plugin changes that.

But, ultimately, it's difficult-to-impossible to troubleshoot unless you can duplicate the bug in your playtest where you can see the error trace.

As it's graphics related, there's always some possibility that it's actually a fault with that player's system, something in their graphics settings or drivers. Especially if only one person has had the error.
incompatible savefiles is a common cause - but not the only one.
but to hunt for the other causes we need the full error trace, the simple screenshot above is not enough for that.
If you intend to try the deployed version, I would recommend that you first add this plugin to your project. It will make it so that you can see the stack trace at the time the error occurs. I'd also recommend using this plugin when sending out demos for people to playtest, so they can send you the the stack trace if they run into issues like this.
Thank you all!
I will see about the add-on.
So is there a possibility that it's a pc problem when trying to render something?
The problem is that I can't duplicate the error, but I'll download the demo and try it, I'll also see that plugin that you recommend, thanks!

By the way I quote the user who found the problem

OneManIndie​

I can confirm that the issue does exist as i can't open the game.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-render-of-null-from-the-independent-game.161281/