(Copy-pasted to here from my post on official forums as per one's suggestion)
Or even test them, because it needs to make a temporary save file.
I've had no problem saving until just recently (within the last couple hours). First time, I just wrote it off as a Beta bug, closed without saving and cut my losses. I went through redoing what I had done, and went to save, and the same issue happened.
Seemingly, it is attempting to turn the last backslash in the save path to a forward slash... which afaik is not legal in a path name.
"Unable to save test document to 'C:\Program Files\Starcraft II\Beta\Maps\Test/EditorTest.SC2Map'"
when I try to test, and
"Unable to save file (XML: Invalid qualified name): C:\Users\<My Name>\Documents\StarCraft II Beta\Maps\SCV Frenzy.SC2Map.temp\Base.SC2Data\GameData/AbilData.xml"
when I try to save. <My name> is obviously substituted by my name.
I have no idea why it would randomly start to try and save illegal paths.
--
My post went on in replies to clarify that I'm near certain that the forward slash in the path is causing it to fail, but I'm not adding the forward slash. Everything past '.SC2Data' is added by the editor and I have (seemingly) no control over it.
I've saved the same file many times, it only just started failing. No clue as to what may have caused it.
That's really odd.. I checked in the preferences and theres nothing really to change how the map saves other than an option to "Auto Save Map" "Save Maps Fast" "Save Maps Smaller"
Well, up until now I've just been keeping the editor open so I didn't lose my work, but after a couple more failed saving attempts, I decided to just close it and launch it again. I ran it as admin, and I was able to save successfully. I also then closed out and then reopened as not-admin, and it still was able to save fine. I don't think it just has to do with closing out and reopening because I did that multiple times yesterday and the issue persisted.
The only thing I can think of that would make a difference would be that maybe the specific work I added after that save may have suddenly caused me to be unable to save. I was working on a Learn type ability and getting that set up, if it matters.
In any case, its working fine now. Later today I'll start redoing that work for the 3rd time, and if I become unable to save again, that may be the culprit.
I've had this happen to me twice. At first I thought I just messed up and wrote over a save file. But now, I know this is an Editor bug. There are 3 areas that I might have narrowed this down to:
1) (Most definitely) Downloading your Unlocked Map from Battle.Net via the editor (Manage Published option)
2) (Maybe) Original Map being done in a different language (even though it's a Blizzard Map - i.e. Tal'Darim Altar)
3) (Maybe) Going between Mac client and Windows client via problem #1
4) (Most definitely related) When you see your text variables show up as param/value/A-Z0-9 then there is something wrong with where it says it's saving your file to and where it's actually being saved to.
(Copy-pasted to here from my post on official forums as per one's suggestion)
Or even test them, because it needs to make a temporary save file.
I've had no problem saving until just recently (within the last couple hours). First time, I just wrote it off as a Beta bug, closed without saving and cut my losses. I went through redoing what I had done, and went to save, and the same issue happened.
Seemingly, it is attempting to turn the last backslash in the save path to a forward slash... which afaik is not legal in a path name.
"Unable to save test document to 'C:\Program Files\Starcraft II\Beta\Maps\Test/EditorTest.SC2Map'" when I try to test, and "Unable to save file (XML: Invalid qualified name): C:\Users\<My Name>\Documents\StarCraft II Beta\Maps\SCV Frenzy.SC2Map.temp\Base.SC2Data\GameData/AbilData.xml" when I try to save. <My name> is obviously substituted by my name.
I have no idea why it would randomly start to try and save illegal paths.
--
My post went on in replies to clarify that I'm near certain that the forward slash in the path is causing it to fail, but I'm not adding the forward slash. Everything past '.SC2Data' is added by the editor and I have (seemingly) no control over it.
I've saved the same file many times, it only just started failing. No clue as to what may have caused it.
@Sprelf: Go
I had a similar problem. If you manually go to file - save as - and keep the same name, does that work?
@Tehwildcard: Go
Negative, same error. Also, same error if you name it something different.
@Sprelf: Go
That's really odd.. I checked in the preferences and theres nothing really to change how the map saves other than an option to "Auto Save Map" "Save Maps Fast" "Save Maps Smaller"
Sorry I couldn't help
Try running the map editor in administrator mode.
@Volsky: Go
Well, up until now I've just been keeping the editor open so I didn't lose my work, but after a couple more failed saving attempts, I decided to just close it and launch it again. I ran it as admin, and I was able to save successfully. I also then closed out and then reopened as not-admin, and it still was able to save fine. I don't think it just has to do with closing out and reopening because I did that multiple times yesterday and the issue persisted.
The only thing I can think of that would make a difference would be that maybe the specific work I added after that save may have suddenly caused me to be unable to save. I was working on a Learn type ability and getting that set up, if it matters.
In any case, its working fine now. Later today I'll start redoing that work for the 3rd time, and if I become unable to save again, that may be the culprit.
@Sprelf: Go
I've had this happen to me twice. At first I thought I just messed up and wrote over a save file. But now, I know this is an Editor bug. There are 3 areas that I might have narrowed this down to:
1) (Most definitely) Downloading your Unlocked Map from Battle.Net via the editor (Manage Published option)
2) (Maybe) Original Map being done in a different language (even though it's a Blizzard Map - i.e. Tal'Darim Altar)
3) (Maybe) Going between Mac client and Windows client via problem #1
4) (Most definitely related) When you see your text variables show up as param/value/A-Z0-9 then there is something wrong with where it says it's saving your file to and where it's actually being saved to.
@Volsky: Go
It worked