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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug All Fbx model animations flipped upside down and now showing 2 model in animation preview

Discussion in 'Animation' started by desonn, Feb 25, 2023.

  1. desonn

    desonn

    Joined:
    May 20, 2018
    Posts:
    3
    Hi is anyone else getting having an issue where all of a sudden every 3d model in your project is now flipped upside down and showing 2 model in the animation window one of them kind of looks like a shadow?
    They didn't import like that at all when I first imported them so idk how that happened.
    bake options are gone as well.
    Wasn't able to find anything online regarding this upload_2023-2-24_21-3-16.png
    upload_2023-2-24_21-2-29.png
     
    Last edited: Feb 25, 2023
  2. Bannteagann

    Bannteagann

    Joined:
    Jan 14, 2023
    Posts:
    1
    Having the same issue on 2022.2.8f1. One model, but shadow is upside down.
     
    Last edited: Mar 5, 2023
    jogly likes this.
  3. DuaneyKid

    DuaneyKid

    Joined:
    Feb 25, 2021
    Posts:
    2
    I am experiencing the exact same issue using 2022.2.13
     
  4. DuaneyKid

    DuaneyKid

    Joined:
    Feb 25, 2021
    Posts:
    2
  5. MagiJedi

    MagiJedi

    Joined:
    Apr 17, 2020
    Posts:
    31
    Same here.
     
  6. YTGameDevDave

    YTGameDevDave

    Joined:
    Jan 3, 2015
    Posts:
    13
    Yup same here
     
  7. JohnHacker

    JohnHacker

    Joined:
    Oct 27, 2012
    Posts:
    44
    The fix is, on UniversalRenderPipelineCore.cs, method IsHandleYFlipped, change:

    Code (CSharp):
    1. if (cameraType == CameraType.SceneView)
    for

    Code (CSharp):
    1. if (cameraType == CameraType.SceneView || cameraType == CameraType.Preview)
     
  8. Ashanex

    Ashanex

    Joined:
    May 2, 2019
    Posts:
    13
    When I change this, Unity automatically resets it to the previous script.
     
  9. bantus

    bantus

    Joined:
    Aug 16, 2017
    Posts:
    7
    same issue, when i change it, it reverts back?
     
  10. ricardolenzi

    ricardolenzi

    Joined:
    Oct 21, 2018
    Posts:
    1
    You should modify the editors source package. In my case the files is in the folder "C:\Program Files\Unity\Hub\Editor\2022.3.4f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.render-pipelines.universal\Runtime"
     
    kobins88 likes this.
  11. athensM

    athensM

    Joined:
    Mar 18, 2021
    Posts:
    10
    Hi, I am encountering this issue in version 2023.1.2f1. Doing the quoted modification does not solve the problem. Any advice? Thanks !
     
  12. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    669
    If you already have URP in your project, you need to force it to reimport after making the source change or else it may retain the older copy of the package without the fix. You can either remove and reimport the package, or just make a change in the package code as Unity will invalidate it and re-pull from source.

    I made the change above in the source, messed with a file in the URP package in my project to invalidate it, then it pulled in the change and it's working as expected.
     
  13. DrewofDonuts

    DrewofDonuts

    Joined:
    Apr 23, 2020
    Posts:
    24
    Having the same issue on 2022.3.2.1....but honestly been several updates and same behavior is persisting.
     
    Klausbdl likes this.
  14. Klausbdl

    Klausbdl

    Joined:
    Aug 12, 2013
    Posts:
    39
    Same issue on 2022.3.6f1 (latest 2022 LTS as of today)
     
  15. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    669
  16. DrewofDonuts

    DrewofDonuts

    Joined:
    Apr 23, 2020
    Posts:
    24
  17. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    194
    same here, happens in 2023.3.7f1
     
  18. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,876
  19. andymakesthings

    andymakesthings

    Joined:
    Sep 4, 2015
    Posts:
    18
    Thanks so much. Annoying that it isn't fixed on unity's side yet but this makes it work for now.
     
  20. korsynx

    korsynx

    Joined:
    Jan 2, 2021
    Posts:
    6
    The bug is still present in 2022.3.9f1 LTS, upside down gray copy of character in anim preview window in URP.
     
  21. my_little_kafka

    my_little_kafka

    Joined:
    Feb 6, 2014
    Posts:
    82
    This is kinda ridiculous. And I can't even seem to edit the script to solve this issue, as stated in post #7, because it gets read only again even after I uncheck the read only flag (and it does take a lot of time).
     
  22. JohnHacker

    JohnHacker

    Joined:
    Oct 27, 2012
    Posts:
    44
    You should add the package as embedded instead of using the builtin (lots of info about this in forums).
     
    my_little_kafka likes this.
  23. Ashanex

    Ashanex

    Joined:
    May 2, 2019
    Posts:
    13
    What package?
     
  24. JohnHacker

    JohnHacker

    Joined:
    Oct 27, 2012
    Posts:
    44
    com.unity.render-pipelines.universal
     
    Ashanex likes this.