[Crash] Question - Crashing due to Fatal Error

Level 5
Joined
Apr 27, 2014
Messages
91
Screenshot 2024-08-12 103806.png


What does it mean when it crashes like this? I clearly have no idea. Thank you for anyone that can explain.
 
Level 5
Joined
Apr 27, 2014
Messages
91
Could be a lot of things. Maybe moving a unit that doesn't exist is the first thing that comes to mind.
I see. Thanks for the reply. But what do you mean by moving a non-existing unit? And is there anyway to fix it in a simple way? Thank you!
 
Level 5
Joined
Apr 27, 2014
Messages
91
Can you provide some details? What were you doing before the crash. Is it a map related thing?
Okay here is the thing. There is this map that my old classmate years ago had created for funsies. I played it, but it has some minor bugs. I tried fixing it in world editor. The editing I did does not involve anything related to trigger command changes since I completely know nothing about programming commands and all. I dare do not touch it at all.

All changes I did are nothing more, but slight changing of unit position. To be specific, I simply a changed where a grunt unit with no trigger gen was placed. Thats it. I just simply changed its place since it was placed in an awkward spot stuck between some buildings and cant go out.

The changes was saved, but when i played it in the game. The said crash happened. The world editor used btw is the Newgen WE since the map does not properly open and save in a normal world editor.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Okay here is the thing. There is this map that my old classmate years ago had created for funsies. I played it, but it has some minor bugs. I tried fixing it in world editor. The editing I did does not involve anything related to trigger command changes since I completely know nothing about programming commands and all. I dare do not touch it at all.

All changes I did are nothing more, but slight changing of unit position. To be specific, I simply a changed where a grunt unit with no trigger gen was placed. Thats it. I just simply changed its place since it was placed in an awkward spot stuck between some buildings and cant go out.

The changes was saved, but when i played it in the game. The said crash happened. The world editor used btw is the Newgen WE since the map does not properly open and save in a normal world editor.
Did it crash before making this change? Does it crash every single time you run the map now? Maybe it crashes regardless.
 
Level 5
Joined
Apr 27, 2014
Messages
91
Did it crash before making this change? Does it crash every single time you run the map now? Maybe it crashes regardless.
It was not crashing before. It only crashed and became unplayable after I made that slight change. Other than the grunt unit that I moved to a spot where it can now move freely in the game. Totally nothing else was changed.
 
Last edited:

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
It was not crashing before. It only crashed and became unplayable after I made that slight change. Other than the grunt unit that I moved to a spot where it can now move freely in the game. Totally nothing else was changed.
I don't know enough about NewGen to say anything for certain but I imagine it's the source of the problem. Perhaps the map's code is relying on the Grunt's coordinates and changing them causes the issue. Unfortunately, I can't really help any further and someone else will have to chime in, but in the meantime I suggest reverting the change and seeing if anything else causes a crash, IE: Creating a brand new Grunt and/or moving a different Unit.
 
Level 5
Joined
Apr 27, 2014
Messages
91
I don't know enough about NewGen to say anything for certain but I imagine it's the source of the problem. Perhaps the map's code is relying on the Grunt's coordinates and changing them causes the issue. Unfortunately, I can't really help any further and someone else will have to chime in, but in the meantime I suggest reverting the change and seeing if anything else causes a crash, IE: Creating a brand new Grunt and/or moving a different Unit.
Tbh I also tried replacing the grunt with a new one or even putting it back to where it originally was placed, but it seems that any super slightest edit or change would cause the fatal error. Whatever change is done even if its not related to the trigger commands, it will crash. Even as to super minimal change like adding/removing one tree doodad or critter or any other unit.

Im just basically wondering why it crashes in the game, and yet it is smoothly saved in the Newgen WE.
 
Level 5
Joined
Apr 27, 2014
Messages
91
What version of the game do you run? I wouldn't be surprised if there's some incompatibility with reforged and the newgen, which is very old if I'm not mistaken
Actually, im only playing it on a 1.26-1.27 version. No Reforged at all.

Im basically wondering is that the map itself works perfectly. But then I made a little slight change in the Newgen world editor. I just moved a grunt unit that is stuck between some buildings and cannot go out during the game. That all I did. No trigger commands change at all since I barely know anything about it.

The map was saved, but then, the change resulted into the said crash. Any slight change would result in making the map crash and unplayable. And yet again, it was saved smoothly
 
Level 21
Joined
Mar 16, 2008
Messages
955
I see. Thanks for the reply. But what do you mean by moving a non-existing unit? And is there anyway to fix it in a simple way? Thank you!
Like if you have a trigger move a unit instantly somewhere but that unit variable is blank or has been dead for sometime, if the unit recently died then it's probably ok. Good work around is boolean condition checking if the unit is alive before you move any unit, at least for most general cases.
 
Top