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

Bug [MeshSync] Pathtracing does not update edited objects from DCC

Discussion in 'Virtual Production Previews' started by newguy123, Sep 21, 2022.

  1. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    Hi Guys

    When I sync a Max scene into a Pathtraced Unity scene, and then update object properties in the DCC, they do not update in Unity. For example here I have a simple cube in Max:

    upload_2022-9-22_1-6-27.png

    But then if I change the size in Max, then Unity does not update:
    upload_2022-9-22_1-7-51.png

    However, if I change the position and orientation of the object in Max, that translation do go over to Unity, but still without the adjusted size:
    upload_2022-9-22_1-13-16.png

    If however I switch OFF Pathtracing, and use Raytracing instead, then the size adjustments do transfer over to Unity:
    upload_2022-9-22_1-11-23.png
     
  2. sindharta_at_unity

    sindharta_at_unity

    Unity Technologies

    Joined:
    Jul 4, 2019
    Posts:
    49
    Thank you for the report.
    I managed to reproduce this issue and I'll get back to you soon.
     
    newguy123 likes this.
  3. sindharta_at_unity

    sindharta_at_unity

    Unity Technologies

    Joined:
    Jul 4, 2019
    Posts:
    49
    I think I've identified the cause of this.

    As a partial workaround, you can set the Ray Tracing Mode of the objects created in Unity to Dynamic Geometry.
    This is still not ideal because you need to set this mode manually, and even so, it still requires you to refresh the SceneView in Unity manually (e.g: by moving the scene camera), but it's what you can do with the latest version.


    upload_2022-9-29_21-13-36.png
     
  4. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    Hmmm yes that's not ideal, as our DCC scenes have thousands of objects. I'll have to 1 by 1 do that in Unity and that is not an option.
     
  5. sindharta_at_unity

    sindharta_at_unity

    Unity Technologies

    Joined:
    Jul 4, 2019
    Posts:
    49
    This issue has now been fixed in MeshSync@0.15.1-preview.
    Please check and let us know what you think.
     
    newguy123 likes this.
  6. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    Awesome, thanks!
    Will take a look soon and let you know