MV Editor crashes when adding a command to an event that changes game variables

Hello,

Whenever I add a command to an event that changes certain game variables, the editor crashes immediately after said command is added. This includes variables, switches, actor's health, etc. However, I've noticed that this only happens when changing specific variables to specific values, and its not always the same variables (for example, right now I cannot set any variable from 001 to 019 to 1, however, I can do so with variable 020, and I can set any variable to 2.)
1748109344307.png

There is a very lengthy crash log, but this seems to be the important part:

Spoiler: Crash log
Crashed Thread: 0 MainThrd Dispatch queue: com.apple.main-thread





Exception Type: EXC_BAD_ACCESS (SIGSEGV)


Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000078


Exception Codes: 0x0000000000000001, 0x0000000000000078





Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11


Terminating Process: exc handler [2189]





VM Region Info: 0x78 is not in any region. Bytes before following region: 4298370952


REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL


UNUSED SPACE AT START


--->


__TEXT 10033f000-101515000 [ 17.8M] r-x/rwx SM=COW /Users/USER/Library/Application Support/Steam/*/RPG Maker MV.app/Contents/MacOS/RPG Maker MV

I am running 1.6.3a on the latest version of MacOS on an M1 chip. I am aware that later versions of Mac are unsupported, but out of the many Mac users, I seem to be the only one with those issue, so I would really appreciate if someone more familiar with segfaults or RMMV in general could provide some more insight into what could be going wrong here, whether it be a faulty install, a buggy OS update, or just my computer in general. So far I have tried the following:
- full reinstall of RMMV after deleting all related computer files
- testing on older projects and new projects
- installing other versions of RMMV
- system reboot
- closing out other applications that I see running while working in RMMV

I unfortunately am unable to get the crash dialogue to appear again, but I will upload a full crash log when I manage to do so.
I'm having exactly the same problem... also MacOS M1 chip
I'm having the same error running 1.6.2v downloaded from Steam. It crashes when I click on the OK button even if I add not text.

edit: After download nwjs-v0.54.1-osx-x64 and replace the correct files, 'Show Text' doesn't crashs anymore.. but 'Show Picture' does.. so don't buy it if you're running apple sillicon. Luckily I found out before the two hours of the refund contract terms.

Original thread: https://forums.rpgmakerweb.com/threads/editor-crashes-when-adding-a-command-to-an-event-that-changes-game-variables.177887/