# On-premise Photogrammetry tiling pipeline issue: The argument 'size' is invalid. Received NaN

This error occurs after decimating several obj files to reduce the quality of the original mesh / file size. We’re doing this as we had 200~ photogrammetry models in close proximity which caused serious performance issues within cesiumjs.

All of the models bar this model have tiled fine. Now when we tile the model with the following args:

model-tiler -I PHOTOGRAMMETRY --input-list="path\to\input_list.txt" --latitude=lat --longitude=long --texture-format=WEBP --texture-quality=40 --compression-precision-meters=0.005 --verbose=true --compression-level=6 -o="out\path"


FYI the model tiled fine prior to reducing it’s quality.

Now we receive: The argument 'size' is invalid. Received NaN.

It’s a rather strange error, the model consists of 4 .objs.
When tiling all objs together the error occurs.

When tiling each obj individually no error occurs.
When tiling objs 1 & 2 together no error occurs.
When tiling objs 1-3 together no error occurs.
When tiling objs 1, 3 & 4 together no error occurs.
When tiling objs 2-4 together no error occurs.

What could be causing this issue?

I have also attempted to tile this model using cesium Ion, asset id 1266016. The models are crrently tiling and are at 35%. I’ll update this post once the tiling succeeds/fails.

Thanks,
Tom

Hi Tom

I’ll take a look into this. It looks like 1266016 completed successfully. Can you confirm?

Shehzan

Thanks Shehzan, yes it has completed successfully. Although it looks like a tile is missing:

I’ll check the source objs to see if this tile was missing from their. Thanks for the speedy response.
Tom

Looks like that tile was always missing so shouldn’t be part of the issue

Sounds good, thanks for the update.