For those helping out testing the linux build:
http://d.defold.com/archive/dev/d0d12b31d9f82ca9842c0bebe61a218b7cf23e12/dev/editor2/Defold-x86_64-linux.zip
This version outputs the environment variables when launching the engine.
You can use that output and compare it to what you get when you do a export
in the Terminal. Hopefully we can detect some variables that trip up the dmengine.
Create a repro test
Download the engine
$ wget http://d.defold.com/archive/dev/d0d12b31d9f82ca9842c0bebe61a218b7cf23e12/engine/x86_64-linux/dmengine
$ chmod +x dmengine
$ ./dmengine
This downloads the engine, changes the executable attribute, and then verifies that it launches correctly (i.e. creates a window and shows the debug app)
Create test script
Create a test.sh
with all the environment variables in it, (The ones the new editor output when you tried to launch the engine and it failed).
At the end of the script, we launch the engine.
E.g. something like this (test.sh):
export USER=mawe
export JAVA_CMD=java
... many more
#launch the engine
./dmengine
Run the script
$ sh test.sh
At this point, it should still fail, and we have a repro case.
Now, comment out the environment variables one by one, and test the script.
Once the engine starts running again, we’ll note the environment variables that we’ve removed. Some of them are problematic (but perhaps not all of them)
ping @ahmedmaawy, @ghpxi, @alcorrius