Is there a way to skip ADTs when serializing a scene? They get serialized under “materials”, but they are textures, so they don’t have the doNotSerialize
property.
You can try to remove it from scene.textures before calling serialize ?
Sure, but that would break things that depend on it.
This should work:
scene.getMaterialByName(adt.name).doNotSerialize = true;