When I export gltfs the resulting files are getting quite big. I uploaded the files to https://gltf.report/ to see whats going on. There i saw, that a bunch of unrelated files got exported as well. a couple textures, materials and all my scenes as well. Not the scenes objects but i think it exports some scene settings wich makes no sense. After i saw this I added the default cube and exported that with all default settings. Still the same (Its always the same textures and materials). The default cubes gltf file size is 4mb. With a fresh instance of blender it exports the cube with only 2kb. I think when copying everything to a fresh blender instance it might work but i have lots of scripts and different scenes so that would involve a lot of work. Does anybody know if there is a simpler way to fix this?
heres the default cubes export: https://drive.google.com/file/d/1STobQML3yTnaAK2IEHU27No9Fr0oD1Tg/view?usp=drive_link you can upload it to https://gltf.report/ to see whats inside