Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by frogsbo · Mar 11, 2014 at 12:32 PM · meshverticesmaximum

New vertex limit of 131000 vertices per mesh?

my procedural object adds vertices until it goes over 65k vertices, and i expect an error message at that stage, and the mesh to dissapear, but there is no error message and the mesh is visible with more than the limit of vertices and triangles.

what is happening?

edit: i waited longer and it crashes @ 131k vtx.

alt text

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image thornekey · Mar 11, 2014 at 12:36 PM 0
Share

turn on mesh compression?

avatar image frogsbo · Mar 11, 2014 at 01:04 PM 0
Share

changing compression settings requires reimporting the model

avatar image frogsbo · Mar 11, 2014 at 02:04 PM 0
Share

i optimised the code so that it goes beyond 120 000 vertices , and unity crashes the mesh at 131k vertices... with the message that the mesh can only have 65k vertices.

please explaining these strange unidentified phenomenon everybody people.

avatar image Ed unity · Mar 11, 2014 at 06:18 PM 1
Share

Is it possible that half of your indicies are in one array and the other half are in another array? You can have a maximum of 65534 vertices per object and having 131000 before the crash could mean you have two arrays of vertices, 65534 + 65534 = 131068 ~= 131000.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by frogsbo · Mar 12, 2014 at 08:21 AM

Aha @ Ed Unity...Thankyou, you have probably come up with the reason for the answer. I'm using just once vertices[] array to read and write mesh.vertices, but i am resizing vertices,triangles,uv's,normals it with System.Array.Resize , which copies old array makes a new one of any size, and copies old data to new array. it probably does it in some kind of System thingy which means that unity doesnt notice the array size is too big until it's 130k, so it's a kind of hack in effect. :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Changing Mesh Vertex Colors in editor 0 Answers

Creating a mesh out of a linerenderer - how do you convert revolved vertices set to triangles and uv's 1 Answer

Mirror vertices procedurally 2 Answers

Alternative Ways of Finding Vertices 2 Answers

How to find the closest 4 verts/corners ( along with their orientation ) of a rectangular object in relationship with another object? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges