Hello, this is what is happening, i would really love some help:
I have 4 inventory slots wich are SkinnedMeshRenderers, and i change the meshes (SharedMesh), with a script, based on what the character is wearing, so far no problem.
However, on one of the slots i use blendshapes, and when i change a Mesh for a Null item (i use Scriptable objects for the item data, so on this particular item there is no mesh, so it is null). the editor crashes.
I tried various ways towards scripting to solve this to no avail. I need the slot to be able to be unequiped.
So what happens is, Skinnedmeshrenderer uses a sharedmesh with blendshapes, when changed to a null, it crashes. This doesnt happen with the meshes withouth blendshapes. And this doesnt happen when i change from a Mesh with blendshapes to one withouth blendshapes.
Any idea how to avoid this?