I've created a new opaque material, based on an existing atlas, so that I can render opaque sprites in a sprite collection. When I attribute the material to the sprite in the editor everything works. As soon as I'm running my game, the material changes back to the original material.
I've traced it to the UpdateMaterial method, which I've "corrected" only to update the material if the material is null. Could you please include a flag or some other means of being able to specify that I don't want the material to be overwritten?
BR,
Alex