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 ReCoF · Jun 04, 2015 at 03:37 AM · canvasvectrosity

How to resolve the 65535 vertices error with Canvas ?

Hello everyone,

I'm working with a single Canvas with only a few button. I'm using Vectrosity and i have to display a lot of lines.

And i have the error : Canvas element contains more than 65535 vertices. This is not supported. So i'm wondering if there is a solution to go further this.

I though of creating multiples Canvas, but it doesn't seems to work, but maybe i don't use it the right way. If needed, i can find a way to know the number of vertices in my canvas.

I'm open to every suggestions that i should test,

Thank you for reading,

Comment
Add comment · Show 1
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 rsodre · Jun 11, 2015 at 05:51 AM 0
Share

If you found the answer post it as an answer. No problem if it's the same user.

2 Replies

· Add your reply
  • Sort: 
avatar image
-1
Best Answer

Answer by ReCoF · Jul 21, 2015 at 10:20 AM

I actually found a solution :

I create a new VectorCanvas3D every 10.000 lines.

foreach (PathSegment pathSegment in pathSegmentsContainer.list) {

Vector3[] vectors = CreatesVectors(pathSegment, deca); // Creates my Vector[ ]

var vectLine = new VectorLine ("MyLine", vectors, lineMaterial, pathWidth, LineType.Discrete, Joins.Weld ); vectLine.drawTransform = wire.gameObject.transform; // In order to follow my main object vectLine.Draw3DAuto ();

canvasCount += vectors.Length;

vectLine.canvasID = (int)(canvasCount/10000); // Increment one by one every 10.000 lines.

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
avatar image
3

Answer by Bilelmnasser · Sep 04, 2015 at 03:55 PM

Solution : add canvas scaler to your canvas than put 100 in the Reference Pixels

alt text


canvasscaler.jpg (14.0 kB)
Comment
Add comment · Show 2 · 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
avatar image echo2300 · Mar 03, 2016 at 09:44 AM 1
Share

thanks you man, it helps

avatar image tataygames · Feb 28, 2017 at 04:45 AM 0
Share

this does NOT work

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

6 People are following this question.

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

Related Questions

Setting transform parents to Vectrosity canvases. 1 Answer

How to get the number of vertices contained within a Canvas? 0 Answers

Preview UI screen sizes by dragging canvas in scene view. 0 Answers

How do I hide a Canvas that is already in the scene? 2 Answers

HELP! Make text appear in scene after 5 seconds? 2 Answers


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