{"id":5057,"date":"2019-09-02T17:43:36","date_gmt":"2019-09-02T09:43:36","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5057"},"modified":"2019-09-02T17:43:36","modified_gmt":"2019-09-02T09:43:36","slug":"texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/","title":{"rendered":"Texture tiling broke, after importing material and texture from 2018.x into 2017.x (using unitypackage)"},"content":{"rendered":"\n<p>Imported some .unitypackage from 2018 into 2017 (to downgrade), and had strange texture issue with some part of the model.. took couple of hours to find out that material tiling had resetted to 1 (instead of 100 &#8211; duh!) and then also texture was not properly tiling.. (even though wrap mode was correctly set to repeat)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"466\" data-attachment-id=\"5061\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/image-1-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?fit=680%2C466&amp;ssl=1\" data-orig-size=\"680,466\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?fit=300%2C206&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?fit=680%2C466&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?resize=680%2C466&#038;ssl=1\" alt=\"\" class=\"wp-image-5061\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?resize=300%2C206&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><figcaption>Material not tiling properly<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"174\" data-attachment-id=\"5062\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/image-2-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?fit=428%2C174&amp;ssl=1\" data-orig-size=\"428,174\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?fit=300%2C122&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?fit=428%2C174&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?resize=428%2C174&#038;ssl=1\" alt=\"\" class=\"wp-image-5062\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?w=428&amp;ssl=1 428w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-2.png?resize=300%2C122&amp;ssl=1 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><figcaption>Material settings (note tiling)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"426\" height=\"508\" data-attachment-id=\"5063\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/image-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?fit=426%2C508&amp;ssl=1\" data-orig-size=\"426,508\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?fit=252%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?fit=426%2C508&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?resize=426%2C508&#038;ssl=1\" alt=\"\" class=\"wp-image-5063\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?w=426&amp;ssl=1 426w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-3.png?resize=252%2C300&amp;ssl=1 252w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><figcaption>Texture import settings (wrap mode is correct)<\/figcaption><\/figure>\n\n\n\n<p>Comparing .meta files revealed the difference, and sure enough, editing mipBias: -100 into mipBias: -1, texture wrap works again! (replace the zeros with -1 also just in case)<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"505\" data-attachment-id=\"5058\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/image-15\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?fit=668%2C505&amp;ssl=1\" data-orig-size=\"668,505\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?fit=300%2C227&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?fit=668%2C505&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?resize=668%2C505&#038;ssl=1\" alt=\"\" class=\"wp-image-5058\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?w=668&amp;ssl=1 668w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><figcaption><strong>Left<\/strong>: Imported .meta file (broken) | <strong>Right<\/strong>: 2017.x generated .meta for a new texture file (works)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"416\" data-attachment-id=\"5064\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/09\/02\/texture-tiling-broke-after-importing-material-and-texture-from-2018-x-into-2017-x-using-unitypackage\/image-4-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?fit=680%2C416&amp;ssl=1\" data-orig-size=\"680,416\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?fit=300%2C184&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?fit=680%2C416&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?resize=680%2C416&#038;ssl=1\" alt=\"\" class=\"wp-image-5064\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-4.png?resize=300%2C184&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><figcaption>yay!<\/figcaption><\/figure>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imported some .unitypackage from 2018 into 2017 (to downgrade), and had strange texture issue with some part of the model.. took couple of hours to find out that material tiling had resetted to 1 (instead of 100 &#8211; duh!) and then also texture was not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5061,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[1043,1117,1122,1124,1123,1121,142,1118,1120,1119],"class_list":["post-5057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-1043","tag-bug","tag-clamp","tag-downgrade","tag-mipbias","tag-repeat","tag-texture","tag-tiling","tag-wrap","tag-wrapmode"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/image-1.png?fit=680%2C466&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1jz","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5057"}],"version-history":[{"count":3,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5057\/revisions"}],"predecessor-version":[{"id":5065,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5057\/revisions\/5065"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5061"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}