[Crash] Critical Error - couldn't open the object editor

Level 7
Joined
Jul 22, 2021
Messages
65
I was using WE 1.27b version on my external drive and just launched the editor today. The map managed to load in the World Editor. I tried to open the triggers and imports module and then the object editor module, and then the crash occurred.
1741037921583.png


Not sure what to do with that so I deleted WC3 and then reinstalled it — same issue. Tried to find all Warcraft-related stuff in the registry editor and deleted it... no success .

My older map version works just fine, I can copy-paste all the changes in triggers but still, maybe there is a way to fix that. Couldn't find a solution in older threads though.
Last time I saved the map everything worked as intended. Please let me know if I should give up on that. Perhaps install the latest patch, although I'd rather avoid that.
 
Can you provide your object editor data file, or information about which map you tried to load? Either your install is corrupt, or your map is corrupt. I am assuming that your map being corrupt is much, much more likely.

  • If the map is corrupt because it was made by a newer patch, then you can downgrade it using 3rd party tools
  • If the map is corrupt because the data is lost, then you cannot restore it and need to find some other version of the map. You could try to restore it, but this would probably be difficult
 
Level 7
Joined
Jul 22, 2021
Messages
65
Can you provide your object editor data file, or information about which map you tried to load?
I'm not sure how to do that. I can upload the map file when I get back home.

Older versions of the map are working just fine, I already copy-pasted the triggers into the latest working file and I'd just have to re-do some stuff in the object editor. Guess I have to make backups more frequently.

EDIT: also, WE sometimes does not load previously imported models or icons for some reason (it shows 0 kB file size on the list), so I often need to reupload them.
 
Last edited:
I think your assessment of the circumstances here sound accurate. If you want to upload the war3map.w3u unit data you could try that, but there is no guarantee that someone else could restore it. It would require a war3map.wts strings file from the same version of the map -- otherwise strings would be lost. The unit data doesn't actually save the names of units -- it might save the number as "TRIGSTR_10" to indicate the name of that unit will be String 10 from a list of text strings. And when we open and save the map, the list reorganizes automatically. So we cannot easily take the Unit Data (war3map.w3u) from the latest version of the map and place it into a prior version and expect things to work as expected.

Instead, if you intended to use the unit data file in that way, you should put the war3map.w3u in a blank map with the same war3map.wts that was saved along with the unit data. Then, open the blank map in World Editor, and use File > Export Unit Data or whatever it's called to create a war3map.w3u exported file with World Editor. In order to perform the export, this menu option embeds all the text strings into the war3map.w3u itself. This way, the file has the same extension (and you can choose a name even if you want to save it as war3map.w3u) but unlike the file ripped out of the map a version exported in this way is a standalone file and will work if you put it into a prior version or entirely different map.
 
Level 7
Joined
Jul 22, 2021
Messages
65
Thank you for your response. It seems I can export only minimap, .wts and .j files in my WE - unless I missed something.
I decided anyway that the safest way to continue with my map would be to recreate missing stuff in the object editor, as there wasn't much lost really. Anyway, my graphics card broke yesterday and I'm not even able to test my map lol, so I gonna take a different approach regarding my map development for now.

Other than that I just gonna do backups more frequently and I should be fine. It happened for the first time for me, hope the information you provided here will be useful for someone else.
 
Top