Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. If you're a macOS 10.13 High Sierra user take be sure to read this before updating Unity.
    Dismiss Notice
  5. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  7. Unity 2017.3 beta is now available for download.
    Dismiss Notice

[RELEASED] Simply SVG - Vector Graphics and Unity Live happily ever after

Discussion in 'Assets and Asset Store' started by tkoknordic, Sep 28, 2015.

  1. TokyoDan

    TokyoDan

    Joined:
    Jun 16, 2012
    Posts:
    1,026
    I installed it and it shows version 1.1.1 in the version file. Also after importing an SVG, if I change the scale in the settings file and do a Reimport, the scale changes but the collider scale stays as it was when the SVG was 1st imported.
     
  2. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    In 1.1.0 version, that you will find in Asset Store, there is no version number file yet. So, I assumed you didn't remove the installation folder before importing it from Asset Store.
    After changing the scale setting you have to select earlier imported game object in scene and press "Update Collider" in Collider Helper and then you will have the right sized collider. If you have the "Update On Awake" then you don't have to worry about and you will have the right sized collider when you start the game.[​IMG]
     
    Last edited: Jan 6, 2016
  3. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Unity has done something to System.IO library and therefore if anyone is having this issue:
    Assets/SimplySVG/Internal/Scripts/EditorUtilities.cs(23,35): error CS0117: `System.IO.File' does not contain a definition for `ReadAllText'

    We will fix this in upcoming Simply SVG update. Before that you can use this quick fix:

    Replace line 23 in EditorUtilities.cs with these lines:
    Code (CSharp):
    1.             System.IO.StreamReader reader = System.IO.File.OpenText(svgFilePath);
    2.             string s = reader.ReadToEnd();
    3.             reader.Dispose();
    4.             return s;
     
  4. S_Darkwell

    S_Darkwell

    Joined:
    Oct 20, 2013
    Posts:
    280
    @tkoknordic: I had similar issues with other assets after the update. The issue is that the Windows build target was no longer being included with the download by default, so my build target was defaulting to WebGL. I suspect ensuring that WebGL is not the build target will result said issues.

    - S.
     
  5. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Thank you fro pointing this out. Seems that Unity has limited the access to some of System.IO features when you have WebGL as a build target. The fix can still be used if you are using any web platform and the fix will be in our upcoming update.
     
    S_Darkwell likes this.
  6. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    sale please!!!
     
  7. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    What would you think is a good price for Simply SVG?
     
  8. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43

    Hello. Set a discount percentage that is your decision. The conversion into US dollars is very expensive in my country. Therefore, I ask for a discount. Thank you for understanding.
     
  9. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    There are a number of percentages available and that's why asked you what you think is a good price for Simply SVG :D If you ask for a sale I think you should have something in mind. But anyway lets see what can I do in this matter.
     
  10. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    In the mind: the cheaper, the better :)
    I'll buy your package at a discount. People in crisis always want discounts.
    Thank you for understanding
     
  11. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    2 good package svg available in the store.
    I decided to buy and wait for your day discounts :)
     
  12. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
  13. TokyoDan

    TokyoDan

    Joined:
    Jun 16, 2012
    Posts:
    1,026
    I knew that would happen.
     
  14. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    Thanks!!! I buy it. Puppet2d next :)
     
  15. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    Water2D conflicts :(
     
  16. TokyoDan

    TokyoDan

    Joined:
    Jun 16, 2012
    Posts:
    1,026
    Buy it. At this lower price it is a real deal. I bought Simply SVG at the previous price and I don't regret it. And I just wrote a review for it on the Asset Store and gave it 4 stars. This is what I wrote:

    This asset works like as it is advertised. It's been very helpful for my project. But what is better is the support: I notified the Simply SVG developer that I couldn't do some things with the meshes generated by Simply SVG that I should be able to do in another popular asset which I already owned, Puppet2D. The Simply SVG developer immediately contacted the Puppet2D developer and worked together with him to add the functionality that I needed (This is the reason I bought Simply SVG after getting a refund on another SVG importer after that developer didn't want to work with the Puppet2D developer).

    I gave it 4 stars but I would have given it 5 stars if it could do one more thing that the other SVG importer could do but Simple SVG can't...have meshes respond to light sources in the scene.

    Get Simply SVG. You will love it. And if you own Puppet2D, really get it because the two assets are well integrated.
     
  17. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    Need discount :)
    Water2D conflicts :( What do you advise?
     
    TokyoDan likes this.
  18. TokyoDan

    TokyoDan

    Joined:
    Jun 16, 2012
    Posts:
    1,026
    It is discounted. It was $50.00 and now it is $30.00. Get it.
    Water2D is new to me. Looking at it now.
     
  19. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    Assets/Water2D_Tool/Scripts/ClipperLibrary/Clipper.cs(73,19): error CS0101: The namespace `ClipperLib' already contains a definition for `DoublePoint'
     
  20. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    Puppet2d discount :)
     
  21. TokyoDan

    TokyoDan

    Joined:
    Jun 16, 2012
    Posts:
    1,026
    Hmmm. Water2D looks pretty nice. I didn't know about that. What kind of conflicts does it have with Simply SVG? Does Water2D use SVG assets?
     
  22. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Hi, this is due a fact that both of Simply SVG and Water2D uses Clipper library. Clipper is a very popular library.

    To fix this issue: You can just remove the other copy. In Simply SVG all libraries are located in SimplySVG\Internal\Scripts\Libraries

    Same thing with the Puppet2D and SimplySVG. Them both uses Poly2Tri library.
     
    Last edited: Jan 15, 2016
  23. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    803
    Hi Anyone here figure out a script to export Inkscape grouped items located in a single svg file to multiple svg files?

    Update: After finding a promising python script that woudl drive inkscape, it turns out that there is a bug in inkscape that needs to be fixed before exporting groups to individual files can be successfully run. I guess the only other option would be to parse the svg directly and save the files individually. For me I would only need groups at the highest level dumped.
     
    Last edited: Jan 16, 2016
  24. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    I came across with other namespace error. If you are using Photon multiplayer engine there will be conflict between Clipper library's and Photon's JoinType enum. If anyone has this problem you can just rename other JoinType enum. (I'm using JoinTypePhoton name within photon).
     
  25. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    SVG Importer is better :(
     
  26. S_Darkwell

    S_Darkwell

    Joined:
    Oct 20, 2013
    Posts:
    280
    Howso?

    - S.
     
  27. ecutruin

    ecutruin

    Joined:
    Aug 19, 2014
    Posts:
    27
    Hello,

    I'm looking for a good solution to get assets created in Flash into Unity. I attempted Unit's native SVG exporter and the quality was not good. I don't suppose you have any plans on supporting Flash in any form?

    Edit:
    I actually solved the issue with exporting SVG from flash and as such will be looking into this asset as a solution for my game project.

    For those curious, it seems that flash does not export art created with just fills well. You need to make sure your fills have lines for the most part. Also, creating lines with width less than 1 (except hairline) also seem to have issues when exporting. I re-created my asset following these rules and it came out clean.

    Edit 2:
    Purchased the product and attempted to import my asset and am getting un-supported features "stroke-linejoin" and "stroke-linecap". Due to these I'm experiencing a lot of artifacts/holes in lines. Are these something you're looking at supporting in the future?

    Also experiencing an odd issue where adding an asset to the scene is not updating the scene (which also seems to break the inspector). Seems hard to re-produce and things go back to normal mysteriously, so may be hard to test for.

    Any help would be appreciated.
     
    Last edited: Jan 21, 2016
  28. shanemarks

    shanemarks

    Joined:
    Nov 8, 2012
    Posts:
    52
    I seem to be having trouble accessing your website (maybe it is my internet?) Is there perhaps a trial version which my team can test out?
     
  29. malkomalko

    malkomalko

    Joined:
    Feb 27, 2016
    Posts:
    3
    Found a few bugs. First off it looks like new versions of Adobe Illustrator export certain colors in 3 digits instead of 6. I was able to add a check to allow for 3 length Strings to work for colors as well in RuntimeUtilities.cs.

    It also looks like PathElement.ParseControlPoints is bombing on "d: M361.431,174.453c-1.069,2.438-.912,4.239.034,5.692a4.369,4.369,0,0,1,1.061-1.668,8.4,8.4,0,0,1,2.641,4.073,3.035,3.035,0,0,0,1.482-1.835,9.643,9.643,0,0,0,3.668,2.974,6.916,6.916,0,0,1,.215-2.143,5.784,5.784,0,0,1,4.007.824,6.036,6.036,0,0,0,.926-4.317,4.309,4.309,0,0,0,2.778.655,5.563,5.563,0,0,1-.263-4.366,5.551,5.551,0,0,0,2.856-1.126,7.289,7.289,0,0,1-3.369-4.655l-2.893-1.273-11.049,4.148Z"
     
  30. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Hi, for some reason I missed your newest Edit. There will be no artifacts or holes in your line, but if you have some linecaps like arrows they will not show in Unity. If that is something that you really need you can still convert a line to a shape and it will work.
    Website has been working nicely. We don't have demo or trial version ATM.
    I looked into svg documentation and you are right that there is 3 digit version of color. Will cover that and other less used color formats SVG has. I will also look into that path parsing problem.
     
  31. malkomalko

    malkomalko

    Joined:
    Feb 27, 2016
    Posts:
    3
    It looks like "c-1.069,2.438-.912,4.239.034,5.692" is the problem coordinates. When it gets parsed, it is turned into an array like this: "{ "-1.069", "2.438", "-.912", "4.239.034", "5.692" }". I'm not sure if there was spacing around the x,y coordinate pairs before.
     
  32. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Seems interesting that you have multiple dots in one value. Can you send me the orginal svg file? (As a private Message or to the support email.)
     
  33. ask80me

    ask80me

    Joined:
    Sep 17, 2015
    Posts:
    43
    hello
    how use pupped2d FFD?
    thanks
     
  34. malkomalko

    malkomalko

    Joined:
    Feb 27, 2016
    Posts:
    3
    Will do. It's not multiple dots in one value. Since there's no spacing b/w x,y pairs for a Curve [X,YX,YX,Y].
     
  35. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    If anyone of you wants to get svg files thumbnail icons to show in Windows Explore take a look at this awesome shell extension https://svgextension.codeplex.com/

    I will send you private message and we can discuss this in detail.
     
    KeepTrying likes this.
  36. KeepTrying

    KeepTrying

    Joined:
    Feb 23, 2011
    Posts:
    124
    @tkoknordic Please, check your e-mail box, let's talk about Simply SVG solution.
     
    tkoknordic likes this.
  37. Ghopper21

    Ghopper21

    Joined:
    Aug 24, 2012
    Posts:
    159
    Hi -- question -- is it possible to add an arbitrary bitmap texture onto the SVG shape using your tool? With the bitmap properly within and masked by the SVG shape?
     
  38. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Hi Ghopper21. Simply SVG only comes with one type of highly optimized solid vertex color shader. So unfortunally for you Simply SVG doesn't support any texturing.
     
  39. thecodeviking

    thecodeviking

    Joined:
    Apr 9, 2013
    Posts:
    2
    Hi! Thinking about purchasing your package to deal with some funky UI on a project. We're targeting some older mobile devices, so performance is key. How does using assets imported with SimplySVG impact Draw Calls?
     
  40. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    If you use the default shader and same material then Unity will batch all SVG object draw into single draw call. In the end all vector graphics will be in mesh format and Unity will use features such as dynamic batching for them.
     
  41. MV10

    MV10

    Joined:
    Nov 6, 2015
    Posts:
    1,889
    Is there a way to export the mesh and UV map it (applying a different shader/material, obviously)?
     
  42. Xorxor

    Xorxor

    Joined:
    Oct 15, 2014
    Posts:
    24
    I'm interested in using this on the Gear VR, but would like to make sure it looks good first. Are there any assets I can import and try out before purchasing?
     
  43. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    Inside SimplySVGImporter.cs you will find these lines starting at line 331:

    Code (CSharp):
    1. List<Vector2> uv = new List<Vector2>(vertices.Count);
    2.  
    3.             for (int i = 0; i < vertices.Count; i++) {
    4.                 // UV
    5.                 uv.Add(new Vector2(
    6.                     (vertices[i].x - min.x) / dim.x,
    7.                     (vertices[i].y - min.y) / dim.y
    8.                 ));
    That's basically the place where we do the simple uv-mapping. And that's one place you can do your own. Or if you dive deeper and do it somewhere else, you will need to remove that part of code or it will overwrite your uv's.

    I will send you a private message.
     
  44. Eric_Bates

    Eric_Bates

    Joined:
    Jan 14, 2014
    Posts:
    84
    This looks like a great tool!

    Just curious, is it possible to attach 3D colliders to the vector shapes? Id like to use this to prototype 3D sidescrolling levels.

    Thanks!
     
  45. tkoknordic

    tkoknordic

    Joined:
    Jan 31, 2013
    Posts:
    90
    If your game logic is in 2D I think you should use 2D physics. But of cource you can attach 3D colliders to the vector shapes. Our 2D collider helper will only generate 2D colliders but you can use your own (3D) if you like.
     
  46. Eric_Bates

    Eric_Bates

    Joined:
    Jan 14, 2014
    Posts:
    84
    Thanks @tkoknordic for letting me know. I was hopping to extrude the shapes to add some width and generate a mesh collider automatically. So maybe that's outside the scope of this tool.

    Thanks again!!

    Eric
     
  47. Blue-Candle-Games

    Blue-Candle-Games

    Joined:
    Jun 17, 2015
    Posts:
    4
    Hi, considering purchasing Simply SVG. Puppet2D was recently updated to have AUTORIG, a tool for quickly rigging bipeds. Does Simply SVG still work well with Puppet2D and these updates?

    Also, why is this rated so poorly on the asset store? It is rated 3/5 there, but people seem to be pretty happy about your tool here.

    Final edit: does it work with Unity 5.4 and 5.5?
     
    Last edited: Dec 12, 2016
  48. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    887
    Will it import PDF's? I see there are some online PDF to SVG converters, do you think would come in correctly? Thanks.
     
  49. cyruschoi

    cyruschoi

    Joined:
    Sep 13, 2016
    Posts:
    3
    Hi all,

    I would like to create an application to display magazine content under unity ( mostly with text of different fonts and layout ). I would like to convert these content ( in AI format ) directly to SVG. It would be very nice if any one here can share

    1. Can Simply SVG can display text using outline ?
    2. How is the speed ? for like display a SVG file of 1 MB ? ( for PC, and mobile devices as well )
    3. How much memory is needed ?

    Many Thanks,
     
  50. inertiadesigns

    inertiadesigns

    Joined:
    Oct 24, 2014
    Posts:
    14
    Hi, I purchased and have been using today, very happy with the asset. Are the SVG meshes supposed to receive shadows? I can't seem to get them to receive shadows no matter what material I use or settings. They do cast shadows correctly. Any thoughts? Thanks!