Why does the text window sometimes, seemingly at random, become too small for text?

Never happened in MZ... this happens regardless of the size of the paragraph, but when it's long it just displays outside the box, on top of the sprites etc. I can't figure out what does it, as when the playtest is reset it often functions fine again...
Are you using any scripts?
Here's an example of how to ask for help.
I'm not touching this until you give a reasonable amount of information.
Maybe others can infer to what you want and understand fully, but I do not.
I'm done pulling teeth.
Are you using any scripts?
Lots, but one that may be relevant is Lune...?
Screenshot of the issue?
Lots, but one that may be relevant is Lune...?
This doesn't happen in regular VX Ace with no scripts changing how messages work; are you sure Lune is the only one that affects messages or are you just guessing?

A good way to pinpoint a problematic script is to comment out half of your scripts and see if the problem persists. If it does, you know the problem is in the half you left. If it doesn't, you know it's in the half you commented out. Then keep halving the list and commenting/uncommenting as necessary until you're left with the one that's making your problem happen.
Screenshot of the issue?
Game_0siOA8w1E2.png


It does seem to be Lune, I added everything gradually and it was still fine until Lune_Message.config(1, event_id)
Raizen is still active on the forums so you may have to contact him for support if it's a Lune issue.
1642636739617.png


I hope you actually didn't type in Lune_Message.config(1, event_id)
It should be Lune_Message.config(1, 1)
View attachment 213431

It does seem to be Lune, I added everything gradually and it was still fine until Lune_Message.config(1, event_id)
I was a terrible coder at the time haha, but I think it should get the number of lines and configure it kind of automatically to fit it. Try removing all other scripts related to the message also and then try out mine, it might be some incompatibilities , but it should also be easy to fix if it is.
I hope you actually didn't type in Lune_Message.config(1, event_id)
It should be Lune_Message.config(1, 1)
Still seemed to result in a small box, not sure what's different between your setup and mine...
Try removing all other scripts related to the message
I thought it might be Word Wrapping Message Boxes, by: KilloZapit, but removing it only resulted in still a small box, with the words going beyond the screen... only other one I have is Font.default_size = 18 - but still doesn't seem to conflict.
Move the lune message script lower down on your script list and see if it works.
It was the lowest, happens regardless of position it seems.
Send me a copy of your project or demo and I can figure it out 100x faster.
Unless you do a compatibility check. Comment out one script at a time and see if the issue is resolved.
Putting __END__ at the top of a script will comment it out.
e.g.
__END__
script code

Original thread: https://forums.rpgmakerweb.com/threads/why-does-the-text-window-sometimes-seemingly-at-random-become-too-small-for-text.144118/