{"id":8654,"date":"2024-03-24T17:09:58","date_gmt":"2024-03-24T17:09:58","guid":{"rendered":"https:\/\/www.katsbits.com\/codex\/?p=8654"},"modified":"2024-03-24T17:09:58","modified_gmt":"2024-03-24T17:09:58","slug":"unity-blender-fbx-scale","status":"publish","type":"post","link":"https:\/\/www.katsbits.com\/codex\/unity-blender-fbx-scale\/","title":{"rendered":"Unity &#038; Blender FBX Scale"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a24f1228895d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a24f1228895d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.katsbits.com\/codex\/unity-blender-fbx-scale\/#rescale-fix-issues\" >Rescale Fix Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.katsbits.com\/codex\/unity-blender-fbx-scale\/#apply-scalings\" >Apply Scalings<\/a><\/li><\/ul><\/nav><\/div>\n<p>When using Blender to create content for <strong>Unity<\/strong> an issue may arise due to a difference in the way each application handles units of measurement and scaling. In short, objects exported from Blender [1] using the applications default <strong>Units<\/strong> settings typically get automatically upscaled by 100x [2] when FBX files are imported into Unity. For static objects this may not be an issue, for animated objects, or objects that included skeletons however, it can be.<\/p>\n<blockquote><p><strong>Design note<\/strong>: in Unity this can be confirmed by selecting the object and checking the <strong>Scale<\/strong> attribute in the <strong>Inspector<\/strong>; typically the X, Y and Z values will be &#8220;100&#8221;. Resetting these to &#8220;1&#8221; also then resets the selected object back to its original, relative to Blender, and dimensionally correct size.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/resetting-scale-in-unity.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/resetting-scale-in-unity.jpg\" alt=\"Resetting Scale in Unity\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Resetting an objects Scale [i] in Unity reverts it back to its original size and dimension [ii], which is typically much smaller than it likely should be &#8211; red cube is an imported FBX file, white cube a Unity default cube.<\/i>\n<\/p><\/blockquote>\n<h3><span class=\"ez-toc-section\" id=\"rescale-fix-issues\"><\/span>Rescale Fix Issues<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ordinarily a fix for this might be to change the <strong>Units<\/strong> system in Blender, increasing the <strong>Unit Scale<\/strong> or changing <strong>Length<\/strong>, but this has no effect. The only other solution might be to model and\/or animate then physically rescale objects by 100x in Blender before export, but doing this also potentially risks breaking animation data.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/auto-rescale-100x.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/auto-rescale-100x.jpg\" alt=\"Auto-rescaling in Unity\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Objects exported from Blender [1] using the default scaling will be automatically resized in Unity by 100x [2] to match Unity&#8217;s measurement system.<\/i><\/p>\n<h3><span class=\"ez-toc-section\" id=\"apply-scalings\"><\/span>Apply Scalings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To fix the scaling issue between Blender and Unity generally, it is assumed that projects are built in Blender using the default <strong>Units<\/strong> [3] set up, that is;<\/p>\n<ul>\n<li><strong>Unit System<\/strong>: <strong>Metric<\/strong>.<\/li>\n<li><strong>Unit Scale<\/strong>: <strong>1.000000<\/strong>.<\/li>\n<li><strong>Length<\/strong>: <strong>Meters<\/strong>.<\/li>\n<\/ul>\n<p>If not set, in <strong>Scene Properties<\/strong> change the properties to reflect those outlined above (unless others are used for specific reasons). This establishes a baseline <a href=\"https:\/\/www.katsbits.com\/codex\/units\/\">unit of measurement<\/a> in the subsequently exported FBX file.<\/p>\n<blockquote style=\"background-color: #fc0; color: #000;\"><p><strong>Important<\/strong>: before exporting to FBX from Blender, ensure <strong>Apply Transforms<\/strong> has been performed to reset object rotation and scaling &#8211; <strong><em>Object \u00bb Apply \u00bb All Transforms<\/em><\/strong> or <strong><em>Rotation &#038; Scale<\/em><\/strong> &#8211; if this is not done objects may still appear incorrectly positioned, scaled and\/or rotated.<\/p><\/blockquote>\n<p>Once the project is complete, export to FBX as normal but in the FBX Export Settings options, expand the <strong>Transform<\/strong> subsection (if not visible) and check; <\/p>\n<ul>\n<li><strong>Scale<\/strong> is set to <strong>1.00<\/strong>.<\/li>\n<li><strong>Apply Scaling<\/strong> [4] is set to <strong>FBX Unit Scale<\/strong> [5] (default <em>All Local<\/em>).<\/li>\n<\/ul>\n<p>On export from Blender, and import into Unity, the relative scaling and object dimensions should then be retained without need to readjust Scale in Unity [6].<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/apply-scaling-fbx.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/apply-scaling-fbx.jpg\" alt=\"Apply Scaling during export\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Ensure Blenders systems Units is set to Meters [3] and then in the FBX export dialogue, check <strong>Scale<\/strong> is set to <strong>1.00<\/strong>, then change <strong>Apply Scaling<\/strong> [4] to <strong>FBX Units Scale<\/strong> [5].<\/i><\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/correct-scale-unity.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/unity\/correct-scale-unity.jpg\" alt=\"Correct scale in Unity\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>After making the adjustments to the FBX export settings, the imported object (red cube) is then correctly scaled [6] relative to Unity&#8217;s defaults (white cube) and doesn&#8217;t require readjustment.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":8661,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,230,831],"tags":[1039,72,203,208,399,286,393,799],"class_list":["post-8654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blender","category-tutorials","category-unity","tag-blender-3d","tag-export","tag-fbx","tag-scale","tag-unit-scale","tag-units","tag-units-of-measurement","tag-unity"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/8654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/comments?post=8654"}],"version-history":[{"count":12,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/8654\/revisions"}],"predecessor-version":[{"id":8667,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/8654\/revisions\/8667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media\/8661"}],"wp:attachment":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media?parent=8654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/categories?post=8654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/tags?post=8654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}