NodeMaterial materialDefines _keys array is growing over time

Hi.
So we created the playground.
Its a very simplified version of the project, only the NME material and the EnvTexture set every frame.
Hope that this is accurate and gives the same results.

Meanwhile for our project we took out the NME material and put it in the code as a PBR material as the functionality is not too complicated in the end.

BTW, this refers directly to my other post about the env texture:

Thx for the help!
Best.
Werner