Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[RELEASED] PSD 2 uGUI, now with ATLAS CREATION

Discussion in 'Assets and Asset Store' started by dreamset, Sep 5, 2014.

  1. Jimww

    Jimww

    Joined:
    May 14, 2013
    Posts:
    63
    Hi, Will this work with Affinity Designer on OSX? Would I miss out by not being able to use the Photoshop plugin associated with this asset? I assume you are using a plugin.. I haven't bought Affinity Designer yet, but I know I won't upgrade my Photoshop again.
    https://affinity.serif.com/
    Thanks
    Jim
     
    cybervaldez likes this.
  2. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    Excellent! Portrait is nice but that will do for now :)
     
  3. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    This to me is a killer feature, some sort of a next step after pressing the import button from unity editor window that communicates with information about what's about to be imported so you can do some corrections or setups before finalizing.
     
  4. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi all,

    I'm glad you like the new incoming asset upgrades.
    I have updated the first post adding the new changes for 1.3v I have submitted to Unity staff. I hope it is ready to download as soon as possible.

    cybervaldez
    I'm working now to include this advance feature in the next update.

    Jimww
    At this moment this software is not supported. However, I have in mind to add support for PSD files directly from Unity, at least for LayerSet parsing. This feature joined with the advance tab feature could help you to use Affinity Designer if you export each layer and the global design as PSD.


    Stay Tuned for new updates.


    Regards.
     
  5. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    Excuse me,Could it use in photoshop cs6?
    I thought It can use in cs3,so it also could use in cs6...(hmm..I bought it)
    but,when I export the samle.psd,there was a error that I can't get all files.
    So,Does it means could not use in cs6?

    my os is windows
     
    Last edited: Jan 12, 2015
  6. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi shortlin,

    Can you give me some more info about your problem? Does the script show any alert message about what is going on?
    Screenshots could help.


    Thanks.
     
  7. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    First time I used It.I just exported one layer(one image) in the "PSD2uGUI" folder(others stoped).And then Adobe ExtendScript Tool kit window would pop up and said there was a error,but nothing show(for example,jump to the error code.).
    But now I exported the images in cs6 ,just stop in one image and didn't pop up the Adobe ExtendScript Tool kit window no more.So I can't show you the error messages.(I rememerd It just said error and nothing...)

    Finally I used cs3 version to export the images.(from my colleague)
    But another question is when I want to import these images to my unity.like this

    the error is
    "System.IO.FileNotFoundException: Could not find file "D:\SL work\unity_test\Assets\psdDigest.txt"."

    So I knew psdDigest.txt must put in Assets\
    Then I found the images the images and the psdDigest.txt must into the Assets\
    like this


    It could be worked.
    But,Why can;'t I Put a folder and import them just like the video?
     
  8. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    @shortlin I've run into the same issue a few days ago too.

    That's why I think the above will be a big help, so we can get an understanding of what's about to happen before import or get a summary at least.

    Have you tried making your layers and stuffs simplified? That's what worked for me. I rasterized the layers with effects, merged, etc. and that basically did the trick for me.
     
  9. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Ok,

    Formally, PSD 2 uGUI has been tested only on CS3 and CC versions of Photohsop, so it could not work if you use others.
    I have read about and it could be an installation issue due tp it seems Photoshop cant run its own script engine correctly.

    Nevertheless, I don't own a copy of CS6 but I'l try to know what is going on with the script when it is executed under this version.

    Regarding the folder issue, the video is indicative due to a lot of new updates has been done after I published the tutorial.
    I'll try to guide you about how PSD 2 uGUI works.

    When you export the PSD from photoshop, the layer files and the exchange file will be at the same folder as the psd file is. (layer files can be placed into a folders using layer naming conventions).
    Currently, Unity plugin reads exchange file from /Assets folder, but in an incoming update, the plugin will allow to select the file you want to import (using drag and drop feature).

    I attach an example.PSD file together the Unity plugin due to is the best way to shown how the layers have to be sorted in order to get the uGUI items.

    As cybervaldez said, you have to rasterize the layers due to the script can't export no rasterized layers. Just desing, and finish your work, rasterize layers and export.


    I keep work on the plugin so suggestions and issues are welcome.

    Regards.
     
    shortlin likes this.
  10. Jimww

    Jimww

    Joined:
    May 14, 2013
    Posts:
    63
  11. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    First,thanks for your answers.

    In fact,I used the example psd that is "Sample.psd" to export. so I think that is the cs6 can't export those images.(Or cybervaldez you tested in cs6?)

    After I saw the layer name like folder@xxxxx.I Knew this could solve my probelm.

    However I found when I named "folder@Resources\xxxxx" I could export the right folder in "Resources\xxxxx".But when I want to import these images to Unity.It's error..It said
    "Alignment not found
    UnityEngine.Debug:LogWarning(Object)"

    So does it means It could not put images to folder in folder?Sorry ,My Englis is poor,I means just like this:


    And I found when I export the size,for example i phone 5(1136X640), the image will be flat.Because my size is 640X1136(It means my size is vertical not horizontal). So I suggest the choice could judgment the common size can choose vertical or horizontal.

    So I knew the next version could choose the right size to export.I know It could solve the second problem.So it's just suggestion.

    Thanks.
     
    Last edited: Jan 13, 2015
  12. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    Excuse me I have one more question is the button folder must have a text folder?
    I tried it,there was a error message:
    "Button layer structure does not match, review your PSD".

    I don't want the words in my button,the solution is add a text folder and layer which is named " ".
     
  13. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    I'm using CS6 so it works there. The portrait/tablet size will be coming in the next version I think
     
    Last edited: Jan 13, 2015
    shortlin likes this.
  14. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    So you can export the Sample.psd
    .... like this structure:
     
  15. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    Hi yes it worked for me (did you try double clicking the canvas to zoom in on it?).

    Btw I haven't tested the other layers but this is the folder@Otros and Tree layer visible. Buttons are working too, image is just distorted because of the ratio.

     
    shortlin likes this.
  16. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi All,

    Sorry, I was too busy the last days to answer the post.
    Anyway, I have in test stage a new version of the plugin. The new features are:


    - PS script now allows to select the folder where do you want to export both layer files and exchange file (only if a checkbox is checked). If you use folder naming conventions, this new folder will be placed under the export folder. It will work as ussually if the checkbox is not checked.
    - Portrait resolutions.
    - PS script bugfixes.
    - First version of Advance mode: A new EditorWindow which you can select the ".toParse" file you want to as uGUI. This is a first approach of a big update that will allow to map your layers as UI controls from the EditorWindow.

    If I have enough time, I would like to include to the big update into this version the next:
    - I would like to implement something like GUI update, Useful if someone looks avoid importing every time.
    - Solve some issues like Unity plugin hijacks the Main Camera. It will create a new Camera Game Object.
    - The UnityEditor should allow to drag and drop an existing game object as root of uGUI to import.


    Shortlin, regarding your questions:
    I have tried the script on PS CS6 and works fine for me, I don't know what's happen, I'll keep my research.
    About the button. At this moment the button always need a text layer. But I have in mind solve it by using a LayerSet instead or, if not layer is found, then button text is void.



    Stay tuned.

    Regards.
     
    Last edited: Jan 15, 2015
    shortlin and cybervaldez like this.
  17. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    Finally PSD2UGUI is evolving :)
     
  18. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    Excuse me,Is there the psd's layer name could not incloud space?
    For example,layer name is "layer 4".the image's name which is exported would be "layer4"
    So,It would make Unity could find image.
     
  19. shortlin

    shortlin

    Joined:
    Oct 30, 2014
    Posts:
    22
    And I has a suggestion . if there are same layer name,but different folder(in photoshop).when the layer image expoorted,it's name could add the folder name or give the image a folder.
     
  20. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    @dreamset there's a big bug I've found that stemmed from your plugin. I was using Spine and couldn't update any import settings of my image. It keeps reverting back to the original default even if I hit Apply.
     
  21. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi all,

    At first, my apologies for the big delay, I've been working hard with less time than expected.
    I'm proud to announce a new big update is ready to be released after testing a lot. I think I'll send it to unity staff tonight (local time, Spain), including Unity 5 compatibility with the new features and a new Videotutorial

    The new features are:

    1.5v
    - PS script now allows to select the folder where do you want to export both layer files and exchange file (only if a checkbox is checked). If you use folder naming conventions, this new folder will be placed under the export folder. It will work as ussually if the checkbox is not checked.
    - Portrait resolutions.
    - PS script bugfixes. (Layer names never will trim white spaces).
    - ".toParse" files will be named with the PSD name (psdDigest no longer be used).
    - Unity plugin now won't hijack the Main Camera gameobject,it will create one for the new UI.

    - NEW PSD2uGUI DX Editor Window.
    - It has a new gameobject field to drag and drop the file we want to parse as new uGUI.
    -In addition, a new GameObject field has been added in order to choose a gameObject from the scene as root for the new uGUI items that will hang from after exporting. If no GameObject is dropped, it creates a new
    - It will only export to uGUI.
    - It has a new button for reset by default values.
    - This new Editor Window shows the PSD LayerSet tree.
    - This tree parsing is compatible with PSD with PSD2uGUI layer naming conventions. It means it will parse the names and auto select the target UI control.
    - For old PSDs or PSDs with no layer naming conventions, it will show the tree, and will allow to the developer to select the target UI control to export by using a popup window item.

    One screenshot:



    @shortlin This issue about layer names with spaces has been solved with this new version. About same name layers, if you create folders using layer naming conventions, you will avoid the issue by yourself. In general, Layers should be called with different names in order to avoid name collisions. Override layers with the same name is a good feature to save disk space and manage less files.

    @cybervaldez I think, as far as I know, it happens due to when importing using PSD2uGUI, isReadable flag of textures is set to false. I'll set it to true but you probably will notice a worse memory management.


    I hope you like it.

    Regards.
     

    Attached Files:

  22. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    @dreamset EXCELLENT UPDATE, can't wait to try it out! :)
    The import image issue stemmed from the postprocessing function.
     
  23. Ryuuguu

    Ryuuguu

    Joined:
    Apr 14, 2007
    Posts:
    387
    After installing I can no longer change texture import settings in the Inspector. I can change them but the changes are ignored when I press "Apply", all settings are changed back to Sprite and the texture is imported as a Sprite. Uninstalling PSD2uGUI fix this, so I know it is the cause. Is there a way leave the inspector importer working with PSD2uGui installed?

    Cheers,
    Grant
     
  24. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi All,
    The post processing issue is being reviewed, I hope fix it as soon as possible.
    In addition, the new update has been sent to unity Staff. The first post has been updated with the new features and video tutorial as promised.

    Regards.
     
  25. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    I can't stress how awesome your new update is. Just a few more suggestions though, I think you can take this to the next mile by having a preview of the image/layer above the dropdown during the import.
     
  26. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi,

    I'm glad you like it.
    Regarding your suggestion, the asset only shows the layersets. Due to an uGUI component can be built with one or more images, layer set can be build by one or more image layers, and this is why PSD2uGUI works with layer set for mapping functionality and don't show a preview of image layers.

    However, I'll think about this.

    Please, if you really like the asset, help us to keep its support. Give us 5 stars on Asset Store and post a review.

    Thanks.
    Regards.
     
    Last edited: Jan 26, 2015
  27. cybervaldez

    cybervaldez

    Joined:
    Aug 16, 2014
    Posts:
    87
    Rated! :) Yeah try to have image preview, it will make life so much easier to see the individual images in the nodes
     
  28. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi

    Thanks for your rate and review!
    By the way, PSD2uGUI 1.5v is now available for download from the Asset Store!

    Enjoy.
     
  29. contempt

    contempt

    Joined:
    Jul 31, 2012
    Posts:
    88
    I'm getting errors when importing my PSD. Everything is prepared properly but when I run psdDigest I get this error and a bad .toParse file, any insight you could provide would be greatly appreciated.
    I'm on a Mac (10.10.2) running Unity Pro 4.6.2f1 with Photoshop CC 2014 building for Android (Pro).

    UPDATE: I opened the bad .toParse file and deleted 2 empty lines at the bottom of the file and it opened in the DX panel but did not build the UI layout.

    IndexOutOfRangeException: Array index is out of range.
    PSD2uGUI.DataParser.parse (Int32 w, Int32 h, System.String toParse)
    ProjectAssetPostprocessor.preprocessUISource () (at Assets/Editor/AssetProcessor.cs:44)
    ProjectAssetPostprocessor.OnPreprocessTexture () (at Assets/Editor/AssetProcessor.cs:27)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
    UnityEditor.AttributeHelper.InvokeMemberIfAvailable (System.Object target, System.String methodName, System.Object[] args)
    UnityEditor.AssetPostprocessingInternal.PreprocessTexture (System.String pathName)
     
    Last edited: Feb 3, 2015
  30. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi all,

    @contempt is a known issue that has been reported a few days ago.
    I have a new version fixing it but it will take some days to be released by Unity Staff.

    If you contact me, I can provide you a solution.

    Sorry for the inconvenience.

    Regards.
     
  31. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    Can you organize your asset so files are not sprawled all over the project?

    Like something like:

    Assets\PSD2uGUI\
    Assets\PSD2uGUI\Editor

    So everything is contained in a single place and doesn't litter over the project.
     
  32. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    I just picked up this asset, and I am trying to use it for my title screen (19 layers).

    After 3-4 minutes on a very fast computer it says it is done.
    I go into Unity and I have this error:

    IndexOutOfRangeException: Array index is out of range.
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

    Your quick guide says to goto Interface and hit PSD2uGUI or PSD2uGUI DX but doesn't tell you what the difference between them is, just says to "Select one".

    I suspect DX is Advanced Mode.

    But when I use top one I get these errors:

    Unable to find a '.toParse' file
    TypeLoadException: Could not load type 'UnityEngine.FlareLayer' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

    I suspect related to the earlier error.

    I tried using DX mode, and manually drag over the .toParse file and I got this:

    The file provided is not 'toParse' file or does not exist


    Windows 8.1 x64
    Unity 4.6.2f1
     
  33. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi All,

    @Saxi I can put the asset into its own folder as suggested, don't worry about that. Can you send me you ".toParse" file you should have generated with the PS Script? Are you trying to import with your own PSD or using the sample PSD first for learning?

    You are right, DX is the Advanced Mode. When you said "you use the top one", do you mean you are using PSD2uGUI EditorWindow (with no "DX")?
    I've tested it and works as ussually so I need your ".toParse" file.

    Of course, PSD2uGUI has been tested on 4.6.1f1 so I need to try with the last version but I think it is related to the known issue with some layer names I have fixed.

    Sorry for the inconvenience, I'm working on it.

    Regards.
     
  34. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    top one I mean the non-DX.

    http://hastebin.com/fenoxecayo.apache is my toParse. I removed it all and the asset, but I dug it up.

    I'm trying to contact assets devs that spawl files everywhere and see if we can get some better organization. It gets so messy after importing a few assets. Assets like Unibill are awful for that, creating files and folders in 10 locations of root. Outside of plugins you can put the special folders in sub folders under Assets\Assetname.
     
  35. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi,

    I think I have found the issue and it seems to be the same that other people reported days ago so it has a fix. However, I would like to make a new build with everything in a folder (but requires some changes) and other performance fixes.

    I'll send you a new version as soon as I have it.

    Regards.
     
  36. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi All,

    A new version of the asset has been released on Asset Store. The first post has been updated with the new features:

    1.6v
    - PS Script now creates a new folder again, and place the exported files into this one. The folder name is the file name with extension. (This feature was removed once but it has been restored due to is better for keeping the exported items sorted).
    - PS Script now has a Stop button. It allows to stop the operation before exporting everything.
    - PSD2uGUI Editor Window and PSD2uGUI DX Editor Window now allows to drop the folder where the software will try to find de UI images. This feature fixes a performance and memory bug, due to the entire Asset folder was scanned to load any image found.
    - Some text has been added to the Editor Windows in order to help the developer about how the plugin works.
    - The content of the plugin now is stored in a Folder called PSD2uGUI.



    I hope you like it.

    Regards.
     
  37. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    Will this fix the issue I was having?
    When was it submitted, it still shows 1.5 on the asset store and they can take as long as a month to release an asset.
     
  38. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi Saxi,

    The new update should fix the issue you are experiencing.
    Yesterday I received the email from Unity staff about the asset has been accepted and on an hour would be released.
    I took a look on Asset Store and it is ready to be downloaded.

    Cheers.
     
  39. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    I installed 1.6 and having problems yet again.

    When downloading from the asset store, it just gives me a UnityPackage rather than actually importing it. Minor issue, but annoying, I just imported it a second time using the package.

    Then I receive these two console messages:

    The imported type `PSD2uGUI.Layer' is defined multiple times
    The imported type `PSD2uGUI.Importer' is defined multiple times

    Also, I noticed you have a plugins folder under your package folder. I was the one who recommended putting everything in a single folder as it makes it a lot easier, but also mentioned plugins still need to go into \plugins if it is unmanaged code. If it is managed code, it's fine here, but if not it will need to go into plugins. Not sure if it is unmanaged code or not, but just checking.
     
  40. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi Saxi,

    Since PSD2uGUI adds experimental support to unity 5, you will notice there are two ".dll" under your PSD2uGUI/Plugins folder. You just need to remove one of them depending on if you are using Unity 4 or Unity 5. If you are under Unity 4, then, remove PSD2uGUI_u5xXX.dll. Remove PSD2uGUI.dll otherwise.

    Regards.
     
  41. Saxi

    Saxi

    Joined:
    Jun 28, 2013
    Posts:
    381
    Ok, I deleted the x64 version as I am currently testing in 4.

    It worked, but the results are not as expected. It doesn't look anything like what the source was. The layers are not lined up as they were in the source PSD, they look warped, and missing elements. The process is also very slow waiting for it top process the PSD.

    It also creates a gameobject with no name, which is kind of odd with the PSD2uGUI elements below it.
     
  42. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Ok,

    I have created some PSD with differents types of layer sorting, and always the layers are lined up with PSD2uGUI shows on Unity.
    I would need more info about what are you doing to see and say PSD2uGUI don't work. I don't know if you are using PSD2uGUI editor or PSD2uGUI DX, I don't know how your layers are sorted, it really would help us. I don't know if your layers follow the naming conventions. Are you following the layerset structs like user guide says?

    If there are missing elements, Should I supose you are using DX mode? Even using DX mode you need to follow the layer set structs described in user guide. Why? because there are some uGUI controls that uses more than one image or uses other uGUI controls like buttons, or scrollrects, scrollbars, sliders, etc.

    Please, we want to help you, give us more info.


    Regards.

    PS: I'm working on solving minor bugs included no name bug.
     
    Last edited: Feb 12, 2015
  43. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi there!

    I have submitted a new update (1.7v) of the asset, I hope it is released soon.
    It comes with some bug fixes:

    - There was a problem with the name of the root game object of the imported UI. Now it s fixed.
    - There was an annoying performance issue when importing the UI to Unity engine. It has been fixed but now, the folder with the UI images exported from Photoshop must be under Resources folder on your Unity Project.
    - There was an issue with the PS Script when the image layer is partially placed out of the canvas. It was cropped but now, it exports as it should.
    - Now, Basic Window Editor will parse all ".toParse" files found on the provided folder.


    No news from @Saxi ...


    Regards.
     
    Last edited: Feb 14, 2015
  44. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi Again,

    The new update (1.7v) is now available from Asset Store.

    Enjoy.
     
    cybervaldez likes this.
  45. hakankaraduman

    hakankaraduman

    Joined:
    Aug 27, 2012
    Posts:
    353
    Hi dreamset,

    I am thinking about getting your asset but does it properly deal with anchors? As I seen from the videos, you only export for a fixed resolution (1024x768 for example), Is it possible for the asset to make it so that it works with every resolution by arranging anchors at importing phase?
     
  46. goranobradovic

    goranobradovic

    Joined:
    Mar 11, 2014
    Posts:
    16
    Just purchased the asset and having compiler errors:
    Assets/PSD2uGUI/Editor/PSDImportAdvanced.cs(56,41): error CS0433: The imported type `PSD2uGUI.Layer' is defined multiple times
    Assets/PSD2uGUI/Editor/PSDImportAdvanced.cs(60,25): error CS0433: The imported type `PSD2uGUI.Importer' is defined multiple times

    This happens in a newly created (clean) project without any other asset in it and in any existing project. I am using PSD2uGUI 1.7 and Unity Free 4.6.3
     
  47. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi hakankaraduman
    Thanks for being interested.

    Of course it does ;-). The only thing you have to take into acount is to match the aspect ratio between exported layers target resolution and screen tab resolution.

    As you see on the next video, I export to higher resolution, and on Unity3D side, I keep 4:3 as screen tab aspect ratio:


    So take care about matching the main and target aspect ratios. The video shows some layers changing by depending on the anchors and some of them not changing because they weren't set up neither by naming conventions or by using DX Interface.


    @goranobradovic, thanks for purchasing!
    It has been already answered some posts before: Since PSD 2 uGUI comes with Unity 5 experimental support, it has 2 dll on "plugins" folder. Just move out one of them, in your case, move out PSD2uGUI_u5x64.dll.
     
  48. goranobradovic

    goranobradovic

    Joined:
    Mar 11, 2014
    Posts:
    16
    Thanks. Removing one of the DLLs helped.
     
  49. hakankaraduman

    hakankaraduman

    Joined:
    Aug 27, 2012
    Posts:
    353
    thanks for the explanation. great asset, just purchased it!
     
  50. dreamset

    dreamset

    Joined:
    Sep 4, 2014
    Posts:
    65
    Hi All,

    I've sent to Unity Staff 1.71v which comes with:

    Changes of 1.71v
    · Finally, image import settings issue is fixed. For the people whose has reported it, I'm so sorry for the delay.
    · PS Script now is more robust against errors.
    · Experimental support for Unity 5 RC2.


    @goranobradovic, I'm glad it helped and I hope you like it.
    @hakankaraduman, thanks and enjoy it.

    I would appreciate your rates and reviews on Asset store!

    Regards.