I'm very deep into a project of mine (over a year or so) almost 100 event sheets, and I have managed to figure workarounds to most problems however the solution to this issue evades me.
I understand it's hard to diagnose certain issues without the project file, but at least, from a Construct 3 context, what sort of setup would cause such an error?
Key Points:
1) When I run my project in the normal preview there is no freezing point, no errors.
2) When I run the debug preview,
a) The Event: I have a water tile background that if instances of the player object are in a certain distance from the water become "waterActive"
b) There is a loops section that displays as incomplete when the players run into the water, at which point the game freezes, and it is specific to one object (the player object). It displays as such: 14/16, in which out of the 16 players in the game, there are two that are "waterActive".
c) Whenever this loops section appears, I open the console window and it displays the error shown in the image above, if I prevent the event that sets the players to water active then there is no issue, however, I have yet to figure out what exactly is causing the issue.
The main curiosity is why it happens only in the debug console preview, considering how large my project is right now, the use of the debug preview is necessary for any worthy development to continue.
It reminds me of a certain quirk, if I click the local storage object in the debug console it will essentially break the preview. Not sure if this is a similar case as my project issue is specific to events.
P.S. If I open up the console window in a non-debug preview no errors show in the exact same circumstances tested so it seems something is happening in the debug console that is disrupting the preview, just not sure what.