Reply To: file format

Forums 💬 NodeCanvas ⚙️ Support file format Reply To: file format

#16791
pbpf
Participant

    I’ve made this change in the project I’m working on for non-bound graphs, and it seems to work pretty well.  The only things I came across that were not discussed above were that:

    • The pretty-print serialiser, since it uses a default TextWriter, will write different line endings on different platforms which is annoying in teams working on Mac and Windows (so I’ve changed that)
    • The contents of TextAssets are not writable via the TextAsset – only by looking up where that is on disk, which means that it gets saved immediately, rather than when the project is saved.
    • The path to the TextAsset needs to be stored too for use in the editor, since looking it up in the AssetDatabase is not possible when deserialising / serialising

    I’d be happy to post a patch here or send it via email or similar, but I’m not sure what you would prefer / permit.