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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Lost sprite/bone link when updating 'com.unity.2d.animation' and 'com.unity.2d.psdimporter'

Discussion in '2D' started by Tarodev, Mar 12, 2019.

  1. Tarodev

    Tarodev

    Joined:
    Jul 30, 2015
    Posts:
    181
    Reproduce:

    Use the following:
    "com.unity.2d.animation": "2.0.0-preview.1",
    "com.unity.2d.ik": "1.0.7-preview.1",
    "com.unity.2d.psdimporter": "1.0.0-preview.1"

    Import a PSB file, add bones and set bone weights/influences.
    Make a new prefab out of it
    Update to:
    "com.unity.2d.animation": "2.1.0-preview.1",
    "com.unity.2d.ik": "1.0.8-preview.1",
    "com.unity.2d.psdimporter": "1.0.0-preview.2"


    Then you'll be faced with a prefab which is rigged but the sprite does not move with the bones. But the original PSB import works just fine.

    Clip for clarification:
    https://www.dropbox.com/s/ga7gjaaiupi1j2f/Z87Iy6puaw.mp4?dl=0
     
  2. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    @Pendulum_

    Good luck with using a half-baked solution, it probably would be better to wait until these alfa/beta tools mature IMO.

    Why not just use tried and true methods, and use one of the popular 3rd party solutions instead.

    Or do your on 2D/2.5D rigs in 3d software and then import those into Unity.

    P.S.
    Better to msg some Unity guy with "@" to get their attention.
     
  3. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    415
    Thanks for the report. We will look into it.
     
  4. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    415
    @Pendulum_ Did you upgrade your project from Unity 2018.3 to Unity 2019.1?
     
  5. Tarodev

    Tarodev

    Joined:
    Jul 30, 2015
    Posts:
    181
    Yes I did. I was trying to harness the PSB import sprite batching, but to no avail. Had to revert back to 2018 or spend weeks to rigging and animating my units.