• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Crash] World Editor crash upon deleting unit

Status
Not open for further replies.
Level 22
Joined
Feb 3, 2009
Messages
3,292
Hello I have been experiencing a really annoying issue with World Editor. Whenever I try to delete certain units the World Editor will crash instantly with an error (I provided a picture bellow). Some units crash, some don't.
 

Attachments

  • Untitled.png
    Untitled.png
    1.4 MB · Views: 2,015
Level 22
Joined
Feb 3, 2009
Messages
3,292
Strange indeed.

Some things you could try:
- Open the map in normal worldedit, and delete the unit. You will need to disable any vJASS scripts.
- Delete the unit type in the unit editor, this will cause all preplaced units of that type to be deleted.

I forgot to mention that it crashes when I delete it in object editor, not on the terrain.
I tried it in the normal editor now, same thing happens.
 
Level 22
Joined
Feb 3, 2009
Messages
3,292
Did you try first deleting all units from the map of that type and then deleting the unit type in object editor?

Yes.


Right.

- Export object data and reimport.
- Export object data, import to a new map, attempt to delete unit, transfer object data back.

I really hope that's not my only chance, because doing so will give me hours of work to sync the triggers back to the imported units.

EDIT: Tried it, still crashes.
 
Last edited:
Level 19
Joined
Aug 8, 2007
Messages
2,765
post the map, i can remove it via MPQ editor for you..

e/ its multiple units... Are you sure that its the units and not your editor?
 
Level 4
Joined
Dec 19, 2015
Messages
52
I remember seeing someone else post this same problem. I also have it in one of my maps that has over 1000 custom units. If I remember right, it is caused by having units that share the same object ID. For me it was caused by working on the units in another map file and some of the data didn't transfer right between the maps. I haven't found a way to fix it, but just renamed the units to "Do Not Delete" and continued along my merry way.
 
Status
Not open for further replies.
Top