-
Notifications
You must be signed in to change notification settings - Fork 11
Chunk size too large for procedural mesh
Lea Hayes edited this page Oct 3, 2017
·
2 revisions
Procedural meshes are generated on a per chunk basis but cannot be generated when the maximum number of vertices has been exceeded.
Procedural mesh is not updated and an error message is logged in Console window saying "Chunk size of 'X' is too large for procedural mesh".
There is a hard limit of 64K vertices per mesh which is exceeded when chunk size is too large.
Reduce chunk size of affected tile system so that maximum vertex count is not exceeded. The maximum chunk size for tile systems that contain procedural tiles has an area of 100x100 tiles (though not necessarily square).
-
Changing the Chunk Size
The chunk size of a tile system can be changed using the inspector window which is useful when optimizing your scenes.
Copyright © Rotorz Limited. All rights reserved.