Hubs-Foundation / hubs-blender-exporter

The Hubs Blender Add-on enables artists to export their creations to the immersive web with Hubs
Mozilla Public License 2.0
165 stars 50 forks source link

Add a warning if a nesh with a nav-mesh component has multiple materials #206

Closed keianhzo closed 1 year ago

keianhzo commented 1 year ago

Description If a mesh with the nav-mesh component has multiple material this will make the mesh to load as two meshes in Hubs, one per material, and in hubs only the first found mesh with a nav-mesh component will be used. This will be unexpected for the user.

To Reproduce Steps to reproduce the behavior:

Expected behavior That's actually the expected behavior as Hubs only supports one nav mesh but we should warn he user

Additional context We should add a warning in the component's panel to flag that the nav mesh won't export correctly due to having multiple materials assigned.