MeshSyncDCCPlugins
MeshSyncDCCPlugins copied to clipboard
Sync visibility state of objects?
Hi,
I am wondering if there is any plan to add support for visibility (enable/disable) state of objects. It seems like good feature to have given the lack of support for grouping or selected object sync?
(I used Blender plugin only, not sure about other DCC)
Thx in advanced.
Alternatively, if we can use "Exclude from View Layer" in Blender as an indicator to not sync a mesh, that would be great too.
Thank you for the feedback. We don't have any plan to address this in the following 1 or 2 months, but we'll consider it after.
Related PR: https://github.com/Unity-Technologies/MeshSyncDCCPlugins/pull/183
@sindharta may I ask if the merged PR is all it needs to support visibility sync between blender and unity? if so, would there be a new DCC plugin release in near future?
may I ask if the merged PR is all it needs to support visibility sync between blender and unity?
I think so. We are preparing a release at the moment. Hopefully, we'll be able to release it in late April.
Can you please try [email protected], and reinstall the Blender plugin that is compatible with it ?
@sindharta I just tried it with Blender 3.1.2 and visibility sync doesn't appear to work.
Objects are synced but their states are all enabled. I am not sure what else I need to do to make this work, as visibility toggle is checked on my mesh sync server object.
I tried removing the plugin and reinstall, the result is the same.
![Screen Shot 2022-04-27 at 16 45 51](https://user-images.githubusercontent.com/1484279/165479292-22daa75a-bfea-43fa-a404-2369bf249d69.png)
![Screen Shot 2022-04-27 at 16 46 17](https://user-images.githubusercontent.com/1484279/165479397-c2fffe6d-ac8b-48a2-bdfa-319c43e20ce3.png)
![Screen Shot 2022-04-27 at 16 46 43](https://user-images.githubusercontent.com/1484279/165479485-3cf4cb80-84f3-4f8b-84c9-c76eb9716b0c.png)
![Screen Shot 2022-04-27 at 16 47 02](https://user-images.githubusercontent.com/1484279/165479531-3d7710c7-9263-4c1a-acf0-f396f809fc50.png)
I also tried "disable render" toggle (the second camera icon) in Blender, same result
sharing my blend file here in case @seandillon92 needs to take a look at them :)
Hey @bitinn , I downloaded your file and I am able to control the visibility with "Exclude from View Layer" but not with the "Hide in Viewport" or "Disable in Renders" as you mentioned. We will look into it, thank you for reporting this!
I also tried "disable render" toggle (the second camera icon) in Blender, same result
This is working for me, only for objects and only when using manual sync. It disables the mesh renderer in Unity. Hope it helps until we solve the issue properly.
I also tried "disable render" toggle (the second camera icon) in Blender, same result
This is working for me, only for objects and only when using manual sync. It disables the mesh renderer in Unity. Hope it helps until we solve the issue properly.
Hi, so I just tested, and can confirm the behavior is:
- "Exclude from View Layers" => Gameobject is disabled
- "Hide in Viewport" => ignored
- "Disable in Viewports" => ignored
- "Disable in Renders" => MeshRenderer is disabled
My only gripe with this: there isn't a way to map "disable in blender viewport" to "disable in unity scene view", because "Exclude from View Layers" is collection only AFAIK.