We have been working with both autodesk and enscape on this. We have now verified that even uninstalling ALL addin's we can still make revit disappear by duplicating a material asset. The tricky thing is it may take 10 or 12 duplications vs only 2 when enscape or pyrevit is installed. So something has changed from 2021 to 2022 that causes this. We can't reproduce the crash in 2021. If you watch task manager you will see the material asset renderer or something like that running. I'm curious if that app, that basically offloads the rendering of the asset is the culprit. I found that if I make sure to close the asset tab before closing the material i can switch between materials quicker, but after a crash it will crawl while trying to render those assets, before a crash you can switch from material to material very quickly. So what autodesk has asked us to do next is uninstall revit and the material library and reinstall it. We will do that next week. I don't think it will help as we have multiple machines that this occurs on and even on our remote desktop which is "clean". Anyway combined our company has spent at least 40 hours purely troubleshooting trying to find an answer and haven't yet.
My workaround to teams is awful, but I can't think of another workaround. The workaround is to have 2021 open, create and maintain all materials in a project in 2021, then transfer those to your 2022 model when you are ready. Otherwise you will crash and lose work.