[DF-185] Fixed crash at console export at resource editor
erge branch 'feature-new-lighting' of https://github.com/dava/dava.framework into feature-new-lighting