You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am upgrading from 2.0.4 to the latest version (2.1.6) and all my old fragment files have stopped working. The geometryIDs have changed. I've pinpointed that this commit introduced the regression. c53ac59
My understanding was that fragment files should be persisted and should therefore be backwards compatible. Or will I have to regenerate all my fragment files?
Reproduction ▶️
No response
Steps to reproduce 🔢
generate fragment files with 2.0.5
upgrade lib on frontend to 2.0.7
all the geometryIDs have changed and are no longer working.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
Check that this is a concrete bug. For Q&A join our Community.
Hey @SimonSchneider that's weird 🤔 we use flatbuffers for file export/import, and it's not backwards compatible. That's why in this commit I introduced a multi-version serializer to allow backwards compatibility.
We'll take a look at this. In the meantime, I suggest you regenerate your fragments. We don't foresee any changes to the schema in a long time, so this should work.
thanks, I think the flatbuffer export was what broke for me.
I've regenerated my fragments and the new ones work. I might have misjudged that this was the geometryIDs changing but in actuality it was just incompatible flatbuffers.
I'm unsure if you'll have to investigate this further as I'm quite sure it was the incompatible flatbuffers.
Describe the bug 📝
I am upgrading from
2.0.4
to the latest version (2.1.6
) and all my old fragment files have stopped working. The geometryIDs have changed. I've pinpointed that this commit introduced the regression.c53ac59
I'm getting the error malformatted fragment because the fragment groups don't seem to contain geometryIDs that are stored in the streamedGeometries https://github.com/ThatOpen/engine_components/blob/23c99ee54aa30046e84bda902d45b171ceb504bf/packages/core/src/fragments/IfcGeometryTiler/src/base-types.ts#L4
My understanding was that fragment files should be persisted and should therefore be backwards compatible. Or will I have to regenerate all my fragment files?
Reproduction▶️
No response
Steps to reproduce 🔢
System Info 💻
Used Package Manager 📦
yarn
Error Trace/Logs 📃
No response
Validations ✅
The text was updated successfully, but these errors were encountered: