kimsama / Unity-QuickSheet

Unity-QuickSheet enables you to use spreadsheet file data within Unity editor.
http://kimsama.github.io/Unity-QuickSheet
MIT License
1.05k stars 190 forks source link

AssetPostProcessor error CS1009: Unrecognized escape sequence #69

Closed MauiJerry closed 5 years ago

MauiJerry commented 5 years ago

When generating code from an excel xlsx file using Unity 2018.3.6f1, I get "error CS1009: Unrecognized escape sequence" on the NAMEAssetPostProcessor.cs file. Apparently the assetFilePath replacement uses Assets\ instead of Assets/ simple to edit and fix in VStudio, but shouldnt be necessary.

kimsama commented 5 years ago

Where do you run Unity, Windows? Can you confirm that error happen even before the version Unity 2018 e.g. Unity 5.x?

MauiJerry commented 5 years ago

I run unity on windows. Looks like there is a pull request that fixes this from a different fork. I downloaded Unity 5 but didnt try... If you need me to try, I will put it in the ToDo list

ZelgorChris commented 5 years ago

Can confirm this is still an issue on Unity 2019 at least on Windows.

As MauiJerry said someone else posted a quick fix over here.

kimsama commented 5 years ago

Hey, The pull request seems to contain not only that bug fix but also some features. For features, I need to review before the merge. Let me check do cherry-pick for the fix can be available.

kimsama commented 5 years ago

Done merging at fdffe4bee464b1dc90379860c4030de1f7bd83c8

Cheers,