[Bug]Strange behavior with conditional branch

(=T_T=) One strange bug has this one little cait as sad as can be. This event isn't all that complex, rather simple really and the only thing it does is the following. 1. Check to see if character X is in party, if yes, do this "BLAH BLAH BLAH" or 2. If NOT, it does nothing or has the other character says that it looks familiar only can't read it. Simple right? WRONG! For some odd reason, it keeps giving me this bug ... I say picture is worth a thousand words... Or two of them.

Error_1.png

Error_2.png
@Caitlin I'm going to move this to MV Support right now. I just tried to replicate the bug and could not do it. I'm not saying this isn't a bug, but I think it might be ideal to try to trouble shoot first and then if it is determined it is a bug, you can repost it as such, following the bug reporting template.
Hmm, that error is definitely weird in that situation.
When does the error occurr exactly?
Do you have any plugins installed, if yes disable them and test it again.
It happens right after the "There is a tablet..." line and bam, error pops up for no reason.... I had assumed that it was a plugin, so I removed all plugins, minus the MADEINMV plugin... I might turn that off to see if it works, but it's so simple that it should work. I did as @waynee95 suggested, and I tried it again, only to get the same error with NO plugins. (o_o')

NOTE: Is it important that I am on an iMac?

UPDATE: I did some further checking into this strange behavior by doing the following.. One, I checked using the RTP character's name (Harold), since I am using those characters as placeholders.

NO PLUGINS
Harold IN party: It reads as it should be (FINE)
Harold NOT IN party: It reads the unless line just fine

PLUGINS ACTIVE
Harold IN party: It reads as it should (FINE)
Harold NOT IN party: It reads the unless line just fine

DOESN'T WORK (with or without PLUGINS)
When I use characters after the RTP characters Harold, Therese, Marsha, Lucius
characters, it doesn't work, and I began to wonder why... I checked the difference between the RTP characters and the ones I add, the only difference between the two was CLASS...

Strange, I created new classes for my characters and had a bit of trouble (which I restored something) only forgot about classes as I had done them already. Or so, I thought, as I needed to redo them. When I added a class, suddenly, it started to work as it should. I added what I did in hopes of people have a similar hardships might help to see what I did to get there. ( =>.<= ) Cait feels stupid now... *stops talking in third person*
So does it show the choice or it gives this error before making the choice?
Okay - I assume you're getting the yes/no choice box, and the error happens after you select Yes?

In that case, the error is happening when it tries to determine if Adren is in the party. The error message indicates Adren has no class defined. You could have set up the actor with a class, then deleted the class. Or you could have a plugin that has done something with the actor.

Are you playing a new game or a saved game? If a saved game, try starting a new game and see if the error happens.

As a fix, assuming you're running vanilla MV and no plugins, and starting a new game, I'd take a look at the class assigned and ensure the class is set up correctly. You could take a look at the Actors.json file and find the classId assigned to Adren, if you can't see anything obvious by looking at the Actors tab. If that fails, I'd delete the actor and recreate it, just in case something was corrupted after you first created it.
Did you change any of the stat values of the actor class?

Shaz is probably right. You might have no class on that actor. So something messed that up.
The moment I took a look, I noticed that my classes were completely gone (must have been that one time that I had to replace something due to a problem and forgot that I needed to redo my classes). When I gave them a class, it suddenly started to work again, and all, because I checked with characters that were already set. You know sometimes that RPG Maker has problem with characters in certain slots and wanted to make sure that wasn't the case. It's working now.

Hence the OMG! ( =~_~=) Cait feels soooo stupid right now... Problem: No class Status: Now works EMO STATUS: Feels dumber than dirt (lol) Thanks, everyone for your help! Maybe this will help someone facing my issue and not have to go through this, to feel stupid at the end. Well, one can hope.
RPG Maker doesn't have a problem with characters in certain slots.

If you have a problem with that, it's got something to do with the way you've set things up, or plugins you've installed.

As always, if something isn't working the way you think it should, post about it and get help. How long had you spent on this one, when you could have just posted it and maybe gotten a solution within minutes? There's a lot to be said for doing things yourself, but you don't have to be a martyr 🙂 Making progress on your game is more important than not seeking help.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/bug-strange-behavior-with-conditional-branch.82641/