Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Mesh vertices changes

Discussion in '2019.3 Beta' started by SandboxVRDevTeam, Dec 10, 2019.

  1. SandboxVRDevTeam

    SandboxVRDevTeam

    Joined:
    Jan 20, 2016
    Posts:
    6
    I just upgraded my project from 2018.3.14f1 to 2019.3.0f1. I had a function using "MeshFilter.mesh.SetVertices()" so I can change the mesh in runtime.

    This is the original mesh:
    1.png

    This is what I achieved in 2018.3:
    Annotation 2019-12-10 184712.png

    This is what it becomes in 2019.3:
    3.png

    I didn't change any setting in the fbx in both version. Anyone has idea what has been changed since 2018.3 related to index order or something?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi,
    Did you test if your model imports also wrong when you disable all import optimizations etc.?
     
  3. SandboxVRDevTeam

    SandboxVRDevTeam

    Joined:
    Jan 20, 2016
    Posts:
    6
    Yes I tried to change "Optimize Mesh" to "Nothing", looks the same

    Edit: I printed out all the vertices and found that the index order changed. Problem solved.
     
    Last edited: Dec 11, 2019