Search Unity

PSD Importer problems

Discussion in 'Asset Importing & Exporting' started by NeoReelMac, Jun 8, 2020.

  1. NeoReelMac

    NeoReelMac

    Joined:
    Feb 3, 2020
    Posts:
    15
    Hello,

    I'm trying to import a PSB file for which each layer contains a frame for an animation with transparency. My problem is that the importer automatically trims each frames according to its transparency and thus, the pivots are all wrong and the animation is not fluid. Is there an option to import the full layer rect without trimming, or else, the best solution would be to keep trimming the fully transparent data, but then keep the pivot at the center of the original layer? (At this time, the centered pivot is centered in the trimmed frame and that is what is causing all the problems)

    I've gone through the importer script to try and decypher where this trimming could be occuring, but I had to give up after a few hours and post here.

    Any help would be much appreciated!
    Thanks!
     
  2. Tsuole

    Tsuole

    Joined:
    Feb 5, 2016
    Posts:
    12
    Bump >.> I can't believe nobody has answered this!
     
  3. andygeersdt

    andygeersdt

    Joined:
    Jan 18, 2021
    Posts:
    13
    This is also a problem I am experiencing - has anybody found a solution yet? This feels like it needs to be a feature of the PSD importer itself (if the Unity team are reading this?)