MV sometimes has bugged parameters?

 * @param Agility
 * @default Agility:
 * @param Luck
 * @default Luck:


wut.png



They are both size 11... After some more testing I found out they are indeed both 11. For some reason MV sometimes adds extra hidden characters to the parameter-values.


The LAST parameter in this list keeps getting 2 extra CR LF symbols at the end of of it's value... EACH time. I doublechecked my plugin-text and made sure it had no extra hidden symbols or weird encodings... But nope no problem there.


I tried switching the position of the luck&agility and the CR LF is now attached to the agility-parameter instead... This is another bug in MV?
the param capture from MV is a bit bugged. It seems to happens only with the default thought. To solve that, i add @@ on the last parameter whenever i have issues.
Thanks for confirming. It's not just me then. I will try your workaround. I hope they will fix this in the future.


It indeed only happens to the last parameter and is only an issue when the last parameter is a string. However, comparing this string later on will cause bugs and is pretty hard to debug.

Original thread: https://forums.rpgmakerweb.com/threads/mv-sometimes-has-bugged-parameters.56041/