Here is a screenshot demonstrating a minimum reproducible bit of code that causes the problem:
I would like to add that the three obj method does work, but only once: the first time it's run it does effectively set the draw range, but since it "kills" the index attribute it can not be run more than once.
MORE INFO:
the index is being lost in the three.js function "syncToModel", because for some reason it thinks it's an "attribute generated by three", or something like that. I will report back with more info / a pull request if I can fix this.
Here is a screenshot demonstrating a minimum reproducible bit of code that causes the problem:
I would like to add that the three obj method does work, but only once: the first time it's run it does effectively set the draw range, but since it "kills" the index attribute it can not be run more than once.
MORE INFO:
the index is being lost in the three.js function "syncToModel", because for some reason it thinks it's an "attribute generated by three", or something like that. I will report back with more info / a pull request if I can fix this.