I believe I’ve found a bug. I used to be able to merge meshes out of a MeshWriter. But it now fails with “Positions are required” error. Having played with GLTF assets, I’m familiar with this error , however this now happens on code that used to work.
I’ve tested many versions and can confirm it worked up until alpha.60 and stopped working from alpha.61. Hopefully that’s useful info.
Basically in SPS used in the mesh writer there is a ultra heavy focus on perf. UpateDirectly is not keeping track of the original data hence the change. The created mesh are not meant to be mergeable.
Your merge function is not useful in the pg as there is only one mesh inside.
I am inclined to keep the current behavior but would like to ensure there is not more you are doing where it would break your code ???
Thanks for the reply @sebavan. Yes the PG is a basic repro which makes no sense, it’s only to get the error happening. In my app, I have multiple separate texts that are positioned separately and merged.
Is there an option to opt in the new behaviour? Or at least make the old one opt-in? This seems like I might not be the only person having a breaking change.
Hi, I’m trying to test this now. Could you push a new version to npm? Or what’s an alternative to test the latest unpublished version in my app easily? Thanks in advance.