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.

Bug Importing .blend files results in very incorrect scale factor in 2022

Discussion in '2022.1 Beta' started by sameng, Oct 27, 2021.

  1. sameng

    sameng

    Joined:
    Oct 1, 2014
    Posts:
    133
    It looks like .blend file imports are applying a very different scale factor than other versions of Unity.

    I've filed a bug, but wanted to post in case anybody else runs into this issue.

    My game uses .blend files for almost every model.
    (I find them very convenient, I am aware that FBX is better supported.)

    It looks like .blend files are importing with the same scaler as .FBX files, which causes them to be imported at .001 scale compared to how they used to be imported.

    I filed a bug report. Case 1376387

    In all previous versions of Unity (2021.2, 2020, 2019, 2018...):


    In Unity 2020 (if you zoom waaaaay in, you can see the little cube and the little guy :) )


    Also a unrelated side note there are weird graphical artifacts around the game view.
    This is an empty project with only those 3 assets.
     
  2. sameng

    sameng

    Joined:
    Oct 1, 2014
    Posts:
    133
    Maybe related to this issue?

    https://issuetracker.unity3d.com/is...-file-to-100m-unity-when-importing-blend-file

    I am on 2022.1.0 alpha 12.

    It says the issue was fixed in alpha 6. Maybe regression since then?


    Edit: It looks like this linked issue's fix is what actually is breaking my project.

    In all previous versions of unity such as 2021, 2020, 2019, 2018, 2017, it was
    1cm (File) to 1m (Unity).

    I would assume that this fix will also break many projects updating from any previous version of unity to 2022.
     
    Last edited: Oct 28, 2021
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,981
    Hi @sameng,

    Thanks a lot for the bug report and for bringing this up on the forum.

    I can see that you've received a reply from our devs about this case. I'll share it here as well to let others in on the info:
    The latest status of the issue can be found here: https://issuetracker.unity3d.com/product/unity/issues/guid/1376387/
     
  4. George-Ing

    George-Ing

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    52
    I wrote the above ^ reply on the bug. It would be super helpful to confirm you folks are both working on < Blender 2.8 to confirm our hypothesis.
     
  5. sameng

    sameng

    Joined:
    Oct 1, 2014
    Posts:
    133
    Thank you for looking into this issue!

    Indeed I'm using 2.79b in production.

    I know it's an old version, but it's a really solid stable Blender and has worked well with all versions of Unity, all the way back to Unity 5.6.

    Also, in many previous version of Unity, Blender 2.8 and greater would not correctly import into Unity, so 2.79 is still a great standard that works well.
     
  6. sameng

    sameng

    Joined:
    Oct 1, 2014
    Posts:
    133
    I was thinking about upgrading my project to 2022 to fix some bugs that won't be fixed in 2021, but this is a blocker for me since all of my rigs and animations won't properly migrate and be properly supported in Blender 2.8+

    Is there a way to force all .blend files to import at a different scale just for my project? Is this a custom asset-importer? Post-processor? I would appreciate any sort of small guidance as I am really new to asset-pipeline scripting and this is the main blocking bug for me to even think about trying Unity 2022.
     
unityunity