I found another bug in editor: if you press “Create terrain” when editor launched from binary package, it will cause error:
[Tue Mar 07 19:39:28 2017] ERROR: Could not open file D:/CXXProjects/Urho3D-Windows-Static-Build/SDK/bin/Data/Textures/heightmap-1488908367.png
[Tue Mar 07 19:39:28 2017] ERROR: Could not find resource D:/CXXProjects/Urho3D-Windows-Static-Build/SDK/bin/Data/Textures/heightmap-1488908367.png
[Tue Mar 07 19:39:28 2017] ERROR: Scripts/Editor/EditorTerrain.as:324,9 - Exception 'Null pointer access' in 'void TerrainEditor::CreateTerrain()'
AngelScript callstack:
Scripts/Editor/EditorTerrain.as:void TerrainEditor::CreateTerrain():324,9
The origin of this error is in:
private void CreateTerrain()
{
String fileName = "Textures/heightmap-" + time.timeSinceEpoch + ".png";
String fileLocation = fileSystem.programDir + "Data/" + fileName;
...
In Urho3D binary package resources placed separately and there isn’t Data folder in program dir. Also if we create this dir, heightmap will be outside resource paths.