{"action":"closed","issue":{"url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION/issues/354","repository_url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION","labels_url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION/issues/354/comments","events_url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION/issues/354/events","html_url":"https://github.com/AVGP/TEST-ISSUE-MIGRATION/issues/354","id":210932887,"number":354,"title":"Texture Size [0/0] is causing unwrapping & baking problems","user":{"login":"AVGP","id":370246,"avatar_url":"https://avatars1.githubusercontent.com/u/370246?v=3","gravatar_id":"","url":"https://api.github.com/users/AVGP","html_url":"https://github.com/AVGP","followers_url":"https://api.github.com/users/AVGP/followers","following_url":"https://api.github.com/users/AVGP/following{/other_user}","gists_url":"https://api.github.com/users/AVGP/gists{/gist_id}","starred_url":"https://api.github.com/users/AVGP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AVGP/subscriptions","organizations_url":"https://api.github.com/users/AVGP/orgs","repos_url":"https://api.github.com/users/AVGP/repos","events_url":"https://api.github.com/users/AVGP/events{/privacy}","received_events_url":"https://api.github.com/users/AVGP/received_events","type":"User","site_admin":false},"labels":[{"id":550173597,"url":"https://api.github.com/repos/AVGP/TEST-ISSUE-MIGRATION/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"ms-test-wtf","id":26099528,"avatar_url":"https://avatars2.githubusercontent.com/u/26099528?v=3","gravatar_id":"","url":"https://api.github.com/users/ms-test-wtf","html_url":"https://github.com/ms-test-wtf","followers_url":"https://api.github.com/users/ms-test-wtf/followers","following_url":"https://api.github.com/users/ms-test-wtf/following{/other_user}","gists_url":"https://api.github.com/users/ms-test-wtf/gists{/gist_id}","starred_url":"https://api.github.com/users/ms-test-wtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms-test-wtf/subscriptions","organizations_url":"https://api.github.com/users/ms-test-wtf/orgs","repos_url":"https://api.github.com/users/ms-test-wtf/repos","events_url":"https://api.github.com/users/ms-test-wtf/events{/privacy}","received_events_url":"https://api.github.com/users/ms-test-wtf/received_events","type":"User","site_admin":false},"assignees":[{"login":"ms-test-wtf","id":26099528,"avatar_url":"https://avatars2.githubusercontent.com/u/26099528?v=3","gravatar_id":"","url":"https://api.github.com/users/ms-test-wtf","html_url":"https://github.com/ms-test-wtf","followers_url":"https://api.github.com/users/ms-test-wtf/followers","following_url":"https://api.github.com/users/ms-test-wtf/following{/other_user}","gists_url":"https://api.github.com/users/ms-test-wtf/gists{/gist_id}","starred_url":"https://api.github.com/users/ms-test-wtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms-test-wtf/subscriptions","organizations_url":"https://api.github.com/users/ms-test-wtf/orgs","repos_url":"https://api.github.com/users/ms-test-wtf/repos","events_url":"https://api.github.com/users/ms-test-wtf/events{/privacy}","received_events_url":"https://api.github.com/users/ms-test-wtf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-28T23:20:09Z","updated_at":"2017-02-28T23:25:07Z","closed_at":"2017-02-28T23:25:07Z","body":"Original issue: https://task.archilogic.com/issues/9279\n\nHow to reproduce: 1) open http://goo.gl/kLfWEz 2) Observe the Texture Size of the &quot;front material&quot;, the size is [1, 1] 3) Look at the front material in the model structure. It says size [0, 0] 4) You can reproduce this by setting the texture size of a material to 0, 0. Then remove all texture, save the model and reload. now it will show (1,1) but the size reference in the model structure will be 0, 0 Result: If you bake the model, baking fails because of invalid UV coordinates. \n\n    \r\n    e3d.require.js:279 Baking error in preview bake:  Error baking file: Unrecognized token nan&apos;: was expecting &apos;null&apos;, &apos;true&apos;, &apos;false&apos; or NaN\r\n     at [Source: /tmp/baking-server/tmp/bake/exported/lighting.al2.json; line: 124, column: 43]\r\n    \n\n!invalid.png! Expected result: Fallback to minimum texture size &gt; proper uv unwrapping Todo: - Set a reasonable texture size minimum (&gt;0) (there is a minimum in the slider but not the numeric field) - editor should read the texture size property from the structure, even if there is no tetxure. - OR: size property should be removed if all textures are removed"}}
{"actor":{"display_login":"AVGP"}}