I have a huge issue that I need a construction script to execute slightly different in editor vs packaged/standalone, but there appears to be no way for a construction script to know whether it’s being executed in-editor or for packaging.
There is a node called “is packaged for distribution” but it simply doesn’t work (at least not for construction scripts).
I have figured out a way to detect standalone (by checking if Game Mode is valid) but there is just no way of determining if it’s being cooked for packaging or not.