Small repro case.
It using perspective camera.
I make a copy of card collection(word_char.collection) from my game. That collection use custom materials for every part(4 material).
Custom for fg,bg,char,number. All material, same except tag. I need that for fixing rotation.(with one material, was z fighting)
For that case, i make 4 different collection.
word_char.collection - 4 material no trim. Worked
word_char_material_1.collection - 1 material no trim. Worked
word_char_trim.collection - 4 material trim. Not worked.
word_char_trim_material_1.collection - 1 material trim. Not worked.
It have 5 collections.All worked correct on desktop.
Problem with html build.
1)main - contains all from 2-5. All not worked. Looks like using any sprite with trimming break all.
2)main base. word_char.collection. Worked
3)main base_material1. word_char_material_1.collection. Worked
4)main_base_trim. word_char_trim.collection. Not worked
5)main_base_trim_material_1. word_char_trim_material_1.collection. Not worked
sprite_trim_html_problem.zip (40.8 KB)