This is definitely a bug with the editor - if there was an error, why would the compiler allow it? Are there any workarounds?
EDIT: Well, seems like a solution is to provide an absolute path, such as "C:/Users/........"; definitely not a clean solution, hopefully this bug will be fixed soon.
Suppose I have a map file at "a/b/Map.SC2Map", and I have a galaxy file at "a/c/Main.galaxy".
In order to link the .galaxy file to the .sc2map file, I can add a custom script to the map file containing:
and it compiles successfully. (I honestly don't know why, but it works...)
However, when I test the map in-game, it throws an error:
This is definitely a bug with the editor - if there was an error, why would the compiler allow it? Are there any workarounds?
EDIT: Well, seems like a solution is to provide an absolute path, such as "C:/Users/........"; definitely not a clean solution, hopefully this bug will be fixed soon.