2D PSD Importer 7.0 released for Unity 2022.1

2D PSD Importer 7.0 released for Unity 2022.1
7599607--944074--2D PSD Importer.png

We’re glad to share that 2D PSD Importer 7.0 has been released with Unity 2022.1.

What’s new?

  • 2D PSD Importer now has support for importing files with the PSD file extension8391420--1107321--PSD Support.png

  • You can also control which layers to import from a Photoshop file by selecting them from a new tab in the PSD Importer inspector. 8391420--1107315--Layer Import Control.jpg

  • We’ve also added the ability to set padding between sprites in mosaic mode.8391420--1107318--Mosaic Padding.png

  • Alongside this, we now provide a set of APIs for PSD Importer’s import settings.

See the full 2D PSD Importer 7.0 changelog here.

About 2D PSD Importer
The 2D PSD Importer is an Asset importer that imports Adobe Photoshop .psb files into Unity, and generates a Prefab of Sprites based on the imported source file. Read the complete documentation here. Read more in the 2D PSD Importer documentation.

Getting Started

  • Install latest Unity 2022.1
  • Start a new project with the 2D or 2D URP Template to install the latest major versions for 2D packages in 2022.1.

What can you do?
Try it out and let us know what you think of the additions and improvements. We want to know what works as expected, what doesn’t and what is missing.

1 Like

Can I make a PSB. file appear merged in Sprite Editor, but each layer separated and sliced into sprites, like this:

Locks_0, Locks_1, Locks_2, Locks_3
Top_0, Top_1, Top_2, Top_3
Bottom*_0*, Bottom_1, Bottom_2, Bottom_3
Lock_0, Lock_1, Lock_2, Lock_3.

I don't really follow what end result you are looking for, @

Could you expand on what you are trying to achieve?

Can I have a PSB be split into sprites per layer, but appear as a flattened image in Sprite Editor?

I think I found a bug:


I think it has something todo with the facat that it wont name the slices after the layers if you do the slicing in the sprite editor.
As you can see, I can "fix" the issue by selecting another importer and reselecting PSD importer. But in this case all bones are gone.
Also checking "Automatic Reslice" fixes it most of the time.

I am using Unity 2022.2.0b7 and the following packages:
8424249--1114953--upload_2022-9-8_10-12-55.png

Another issue I observed was that I cant click any checkboxes in the PSD file Inspector.

Hello @Urganot ,
That does look like a bug. Could you please file a bug report so we can take a closer look?
Thanks!

Done

1 Like

PSD Importer 7.0.1 and 7.0.2 is not working anymore on Unity 2022.1.14, 2022.1.15 and 2022.1.16

8428293--1115754--PSDImporterBusted.png

Thanks for the heads up @LorenzoNuvoletta

This is a known issue and we are working hard to roll out fixes to the affected versions. Here is the bug ticket, so you can follow our progress:
https://issuetracker.unity3d.com/issues/2020-dot-3-nullreferenceexception-is-thrown-when-selecting-a-psb-file-in-the-project-browser

Sorry for any inconvenience caused.

I can't seem to log into the issuetracker for some reason...but it's also happening in 2021.3.9f1.

Thank you for the confirmation, @bullettea .
We have landed a fix for Unity 2020.3.
We are currently testing the same fix for 2021.3, 2022.1 and 2022.2.

1 Like

FYI, yesterday we shipped PSD Importer 6.0.6, which fixes this issue for Unity 2021.3.

I have an interesting problem where I cannot click on the PSD Importer Inspector. I recently upgraded my project from 2020.2 to 2022.1. All of my previous PSB Animation Rigs are still working as before, the only difference being I cannot edit them in Inspector. Same with newly imported PSB/PSD files. Should I make a back-up and try reinstalling the PSD Importer package?

Edit: I saw the Tracker, I will be checking it periodically! Thanks!

Thanks Ted, any update for Version 7.x in Unity 2022.1?

The fix for Unity 2022.1 will be available in PSD Importer 7.0.3. This version will go live in a few days time, if everything goes according to plan.
The fix for Unity 2022.2 & Unity 2023.1 will be available in PSD Importer 8.0.1. This version will most likely be available in a few weeks time.

I'll post a message here once the versions are available. If you urgently need the version, send me a DM and we can talk about how we can solve it.

Thank you for your patience, and sorry for the inconvenience caused.

4 Likes

How's it looking, friend? I'm eager to get back to work ^-^

1 Like

Fantastic plugin!

To improve normal map workflows for sprites is it possible to add a few things?

1) Normal map compress mode for sprites to enable normal map packing? Currently we are forced to use linear set none packed sprites for normal use. And can't use normal unpack.

2) The ability to tell a psb file to copy the sprite texture layout of another psb? That or the ability to assign a psb in the secondary texture slot of a sprite, and have it auto atlas like the parent texture.

This would help solving packing other data maps such as normal maps to follow the layout of the diffuse.

Currently as it stands, to use normal maps we are required use a separate psb and make sure the textures name, alpha size, and total exported textured match the diffuse so that they both pack the same. This can be tricky If the alpha is off a little. It's be nice to be able to just move and crop normal map textures based off it's name using the data from another texture (such as the diffuse)

Is this by any chance possible? It's tremendously help workflows.

Also does virtual textures work with sprites?

1 Like

PSD Importer 7.0.3 is now available for Unity 2022.1, which contains the fix for the inspector.
We are still performing tests for the 2022.2 & 2023.1 version of PSD Importer.

Thank you for your kind words, @Anisoft

I'll add your feedback to our backlog of things to consider in future releases of PSD Importer.

1 Like

Thank you, I appreciate it!

1 Like