{"id":1969,"date":"2020-05-27T20:30:35","date_gmt":"2020-05-27T12:30:35","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=1969"},"modified":"2020-05-27T20:30:52","modified_gmt":"2020-05-27T12:30:52","slug":"unityargumentexception-mesh-can-not-have-more-than-65000-vertices","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=1969","title":{"rendered":"[Unity]ArgumentException: Mesh can not have more than 65000 vertices"},"content":{"rendered":"\n<p>\u5728\u4f7f\u7528UGUI\u5236\u4f5c\u65f6\uff0c\u5f53\u5927\u91cf\u7684\u6587\u672c\u4f7f\u7528\u4e86Outline\u548cShadow\uff0c\u5219\u53ef\u80fd\u4f1a\u62a5\u4ee5\u4e0b\u9519\u8bef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ArgumentException: Mesh can not have more than 65000 vertices\nUnityEngine.UI.VertexHelper.FillMesh (UnityEngine.Mesh mesh) (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/Utility\/VertexHelper.cs:206)\nUnityEngine.UI.Graphic.DoMeshGeneration () (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/Graphic.cs:591)\nUnityEngine.UI.Graphic.UpdateGeometry () (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/Graphic.cs:573)\nUnityEngine.UI.Text.UpdateGeometry () (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/Text.cs:571)\nUnityEngine.UI.Graphic.Rebuild (UnityEngine.UI.CanvasUpdate update) (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/Graphic.cs:534)\nUnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at C:\/buildslave\/unity\/build\/Extensions\/guisystem\/UnityEngine.UI\/UI\/Core\/CanvasUpdateRegistry.cs:198)\nUnityEngine.Canvas:SendWillRenderCanvases() (at C:\/buildslave\/unity\/build\/Runtime\/UI\/ScriptBindings\/UICanvas.bindings.cs:72)<\/code><\/pre>\n\n\n\n<p>\u8bf4\u660e\u9876\u70b9\u6491\u7206\u4e86\uff0c\u63cf\u8fb9\u548c\u9634\u5f71\u5f88\u8d39\u9876\u70b9<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528UGUI\u5236\u4f5c\u65f6\uff0c\u5f53\u5927\u91cf\u7684\u6587\u672c\u4f7f\u7528\u4e86Outline\u548cShadow\uff0c\u5219\u53ef\u80fd\u4f1a\u62a5\u4ee5\u4e0b\u9519\u8bef\uff1a \u8bf4\u660e\u9876\u70b9\u6491\u7206\u4e86\uff0c\u63cf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1969"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1969"}],"version-history":[{"count":2,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1969\/revisions"}],"predecessor-version":[{"id":1971,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1969\/revisions\/1971"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}