Search Unity

Help Wanted Mesh vertices changes

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

  1. SandboxVRDevTeam

    SandboxVRDevTeam

    Joined:
    Jan 20, 2016
    Posts:
    3
    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:
    624
    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:
    3
    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