Renderable.getSubmeshCount() always return 0
Currently migrating an app from sceneform 1.15.0 (old Google version) to 1.20.5 of this new version. Debugging an issue with materials not being applied anymore (after recompiling the materials with the proper version of filament matc) I stumbled upon the issue that for our ModelRenderables the method getSubmeshCount() always returns 0 for every model. The models are GLB-files and rendered properly in an AR scene, but iterating over the submeshes to apply materials is not possible because the submesh count is always 0. The expected value for a rendered mesh should always be at least 1 though. This seems to be an issue since 1.16.0 and was probably never fixed (https://github.com/google-ar/sceneform-android-sdk/issues/1049).
Is there any way of getting the submesh count for renderables (from GLBs) in the current sceneform version? And how would a material be applied to a submesh of a RenderableInstance?
We are also having same issue. Can anyone please provide input on this?
same issue + 1
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.