Paul Connelly
Paul Connelly
Show your code please.
Gonna need **actual repro steps**.
Alternatively, consider using the debugging, logging, and crash reporting capabilities built into Studio to capture a native stack trace.
No crash when opening the view, whether I open the .bim with none of the other files present, nor with all the other files present. Tiles finish loading and I...
Index out of bounds. ``` > iTwinGeom.dll!BentleyM0200::PolyfaceQuery::ClusteredVertexDecimate(double tolerance, double minCompressionRatio, bool doNormals) Line 84 C++ iTwinVisualization.dll!Viz::Polyface::Decimate(unsigned __int64 minPointCount, double minRatio) Line 85 C++ iTwinVisualization.dll!Viz::PrimitiveGeometry::_GetPolyfaces(BentleyM0200::IFacetOptions & facetOptions, Viz::Output & output) Line...
@Rock2000 your mesh has the same number of aux data indices as it does vertices. It is expected to have the same number of aux data indices as it does...
> I was going off the iTwin Scientific Visualization sample If you're talking about [this sample](https://www.itwinjs.org/sandboxes/iTwinPlatform/Scientific%20Visualization), the flat mesh has 58806 point indices, 58806 aux data indices, and 10,000 points....
Here's a file containing a polyface with aux data that was created using the existing TypeScript API [AnalysisExample.zip](https://github.com/iTwin/itwinjs-core/files/14911697/AnalysisExample.zip), to test against any changes you make to the persistence/serialization layer.
> iModel-native PR: https://github.com/iTwin/imodel-native/pull/688 [Instructions](https://dev.azure.com/bentleycs/iModelTechnologies/_wiki?pageId=28868&friendlyName=imodel-native-PR-Validation#) for correctly linking your PRs. Don't include "PR", and I'm not sure if it's case-sensitive.
Doesn't the function that obtains the key need to be async if - as described in the issue - it needs to query the product settings service?