Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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