You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I use C#'s StringWriter.WriteLine to produce my Enum definitions for LDtk, they end up having an empty last line.
LDtk does not support this, and end up having an empty enum last just called "Enum" with no values. No biggie, I guess I'll have to get rid of the last new line in the file.
But when I produced an enum definition file without that empty last line, LDtk would crash on attempting to open the ldtk file. I had to put the empty line back in, open the ldtk file, remove the enum reference entirely, close LDtk, remove the unintended new line, then finally import it again.
The text was updated successfully, but these errors were encountered:
I need to make an addition. With the empty line gone, my last enum entry in the file always get two identical entries in LDtk, even though I only defined it once. I'm attaching the enum file.
Since I use C#'s StringWriter.WriteLine to produce my Enum definitions for LDtk, they end up having an empty last line.
LDtk does not support this, and end up having an empty enum last just called "Enum" with no values. No biggie, I guess I'll have to get rid of the last new line in the file.
But when I produced an enum definition file without that empty last line, LDtk would crash on attempting to open the ldtk file. I had to put the empty line back in, open the ldtk file, remove the enum reference entirely, close LDtk, remove the unintended new line, then finally import it again.
The text was updated successfully, but these errors were encountered: