How to prevent VisuStella Core Engine from crashing my playtest

Yesterday, the Playtest function was working with no problem, but today, I started 1 Playtest which worked without issue and following some changes inside 2 events, 1 being a set movement route on parallel and another was a script conditional branch script that's looking for a specific event location. After this, no matter what I changed, it would only work if the VisuStella Core Engine plugin was OFF.

I tried turning every plugin except VisuStella Core Engine which would crash, only turning Mog and Galv plugins which worked with no issue and turning every plugin on my way up to Core Engine which crashed until it was turned OFF. I removed my changes which didn't do anything, turned off my antivirus, updated all plugins and corescript to their latest version on a seperate project, but it still refuses to work.

I've got 2 guesses, 1 is that the issue is a combination of my computer and VisuStella together causing a crash, but I've got no clue how to fix it. The other is that it might be related to logs since I closed one the Playtest before crashing. It's kinda weird to explain, but I've seen you can open a log with F8, but when I attempt it on Mac with fn+F8, it force closes the playtest. I need VisuStella plugins for my game since I'm using it to enhance combat with action sequences and overall look.
Another question would be how to open the logs on Mac because I'm not certain fn+F8 is correct and it would help finding the cause potentially
Ok so, I tried to launch my project with all plugins on a windows pc and everything works without issue, so this either a mac related issue or something with my computer currently. Also tried the plugin in a blank project and it still crashes
Well, without a picture of the console log, the event that you created or the code you have modified, it is complicated to pinpoint the cause of your issue. I would suggest that you delete from the project the plugin, save, and then add again the plugin to the project, this will reset all options on the plugin to the default ones. Also delete the event that you created and retest after this steps, this should, at least theoretically, return the project to a playable state.
Double-post notice: @Drekex
I've seen you can open a log with F8,
what you open there is the so-called developer console of the browser itself.
the key to open that might be different between OS and Browser, but the console is always somewhere in the program.
so if the in-engine functions to open that do not work, you can start the game with any browser by clicking on the index.html, and then use the browser menu to navigate to the developer console after the crash happens.

the only difference between the playtest button and a browser opening the index.html is that some engine-specific tools like ctrl to override passability do not work for the player outside the internal playtest.
The changes were removed for the events, at least everything I can remember. As for the logs, I will try what Andar mentioned to bring clarity to the problem, and after, try deleting Visustella Core Engine and re-add the plugin. If this doesn’t work, i’ll try removing part of the project on a duplicate to see if a certain part of the project causes it.

I’ll edit my messages from now on to prevent double posting and have read the rules
The changes were removed for the events, at least everything I can remember. As for the logs, I will try what Andar mentioned to bring clarity to the problem, and after, try deleting Visustella Core Engine and re-add the plugin. If this doesn’t work, i’ll try removing part of the project on a duplicate to see if a certain part of the project causes it.

1. Don't forget to make sure all of your Visustella plugins are up to date with the latest versions by researching each individual plugin and checking the changelog section on the wiki. So the Visustella engine core should be 1.70 at the time of writing this post ->


2. Make sure all Visustella plugins are in the right order and keep in mind that any third-party plugins may not have direct compatibility with Visustella. In particular, since the code is obfuscated, this presents a problem for most developers to make their plugins compatible. You can try re-ordering the plugins list to make it work with 3rd party plugins (place them ABOVE or BELOW all or some of visustella plugins).

3. Make sure you have an up to date game engine.

Another question would be how to open the logs on Mac because I'm not certain fn+F8 is correct and it would help finding the cause potentially
I can help you with this but I need more information. The console was blocked because of internal security on my MacBook Pro and that may very well be what's happening to you.

1. What version of Mac are you using?

2. Have you manually updated nwjs for your project yet? -> https://forums.rpgmakerweb.com/inde...dramatically-improve-game-performance.131620/

3. Mac Specifications would also be helpful to know.

4. Please check to make sure you don't have the console automatically opening in the plugin parameters of the Visustella core engine because if your computer is rejecting the console like mine did, then it will crash the game until you change that parameter to false.
3. Make sure you have an up to date game engine.
And, I think more to the point on this one, your actual project. Updating MZ doesn't do anything to your individual projects unless you open them and select Game -> Update Corescript.

However, saliently, the OP said this is happening when installing the plugin in a new project, so it doesn't sound like it has anything to do with conflicts or the project's scripts not being updated (although I suppose it could be their MZ and VisuStella versions aren't updated together).
1. Don't forget to make sure all of your Visustella plugins are up to date with the latest versions by researching each individual plugin and checking the changelog section on the wiki. So the Visustella engine core should be 1.70 at the time of writing this post ->


2. Make sure all Visustella plugins are in the right order and keep in mind that any third-party plugins may not have direct compatibility with Visustella. In particular, since the code is obfuscated, this presents a problem for most developers to make their plugins compatible. You can try re-ordering the plugins list to make it work with 3rd party plugins (place them ABOVE or BELOW all or some of visustella plugins).

3. Make sure you have an up to date game engine.


I can help you with this but I need more information. The console was blocked because of internal security on my MacBook Pro and that may very well be what's happening to you.

1. What version of Mac are you using?

2. Have you manually updated nwjs for your project yet? -> https://forums.rpgmakerweb.com/inde...dramatically-improve-game-performance.131620/

3. Mac Specifications would also be helpful to know.

4. Please check to make sure you don't have the console automatically opening in the plugin parameters of the Visustella core engine because if your computer is rejecting the console like mine did, then it will crash the game until you change that parameter to false.
All plugins should be updated to their latest version normally, you can refer to my image or this text:
VisuMZ_0_CoreEngine 1.70
VisuMZ_1_BattleCore 1.70
VisuMZ_1_SkillsStatesCore 1.35
VisuMZ_1_ElementStatusCore 1.18
VisuMZ_3_ActSeqProjectiles 1.05
VisuMZ_3_AntiDmgBarriers 1.05

Mog and Galv plugins were put below which is my usual order, but I also tried putting them on top.
MOG_TitleCommands v1.3
MOG_TitleLayers v1.2
MOG_TitleParticles v1.3
GALV_MapProjectilesMZ v1.1
GALV_MessageBustsMZ v1.2

I didn’t try too many combinations because I already tried CoreEngine alone on a new project and it would crash. My corescript version is 1.50, which is the latest.

For the informations you needed:

1. macOS Monterey version 12.6
2. I haven’t, but it seems like a good thing to do
3:
Screen: imac Retina 4k, 21.5-inch, 2017
Processor: 3,6GHz Intel Core quad core
Ram: 16 go 2400MHz DDR4
Graphics card Radeon Pro 555 2 Go
External GPU: RX 5700 XT, that’s the one I’m using on my main monitor when I work on my project

4. This might be my current problem I’m having, checking that right now

EDIT: Yes it works! The console feature was crashing the project, it is now turned to false in quality of life settings
EDIT: Yes it works! The console feature was crashing the project, it is now turned to false in quality of life settings

Fantastic! I'm glad I was able to help you find the root cause of the problem and get your game working again for you. I can now say with almost 100% certainty that MacOS internal security is rejecting the console for nwjs and, therefore, the only fix might be to manually update your nwjs.

You can also try updating your OS to the latest version.
Fantastic! I'm glad I was able to help you find the root cause and get your game working again for you. I can now say with almost 100% certainty that your computer is rejecting the console for nwjs and, therefore, the only fix might be to manually update your nwjs.
Yes ! I will do that right now as well
Fantastic! I'm glad I was able to help you find the root cause of the problem and get your game working again for you. I can now say with almost 100% certainty that MacOS internal security is rejecting the console for nwjs and, therefore, the only fix might be to manually update your nwjs.

You can also try updating your OS to the latest version.
I updated my OS, but I have a last quick question.

I tried following the guide, but things don't seem to be exactly the same. I couldn't find the "nwjs-osx-test" specified, but using "Show in the finder" when the nwjs is active during playtest, the files inside seemed to match what was shown in the guide. I replaced them with the newest nwjs version files and removed chromedriver like it was said. When I rename the nwjs to "Game", the playtest doesn't start, but leaving it as nwjs works.

So, do you think it was done correctly ? Also, should I update nwjs-win as well since I think it'll get used during deployment for the game performance.
So, do you think it was done correctly ? Also, should I update nwjs-win as well since I think it'll get used during deployment for the game performance.

Only one way will tell. Does the console work again when you press fn + F8 or does the game just crash?
Only one way will tell. Does the console work again when you press fn + F8 or does the game just crash?
it opens a devtool chrome page now

Original thread: https://forums.rpgmakerweb.com/threads/how-to-prevent-visustella-core-engine-from-crashing-my-playtest.152381/