jaroslavstehlik / svgimporter

Unity plugin for importing SVG graphics in to Unity
http://svgimporter.com/
Other
164 stars 41 forks source link

Doesnt work (2020.3.21) #13

Open vladkrutenyuk opened 2 years ago

vladkrutenyuk commented 2 years ago

"Failed to load" for any SVG asset (e.g. Failed to load '.../Assets/SVG Importer/Example Projects/Curves Demo/Graphics/Space/planetMoon.asset'. File may be corrupted or was serialized with a newer version of Unity)

Also:

snorrsi commented 2 years ago

@vladkrutenyuk try to fork the project, create a branch from master.. then get the same Unity version as the project is using. Open the project in that version and switch to always serialize all assets as Text. Reimport everything and make sure all .asset files such as planetMoon.asset are now readable. Commit your changes to your fork.

Now open the project in Unity 2020.3.21 or newer and you should hopefully be able to import. My guess is that something in the serialization has changed. On second thought.. are you using Git LFS ? make sure the asset file is not just a reference