if the default value of texture collection parameter set to DefaultTextureCollection, and change the parameter in material instance to a virtual texture collection asset, then the engine will crash
I’ve created https://issues.unrealengine.com/issue/UE\-390625 which should be visible publicly soon for tracking. The ticket repro uses the material instance override crash method which I found reproduced the crash most reliably and with the same callstack. I wasn’t able to reproduce the crash that involved changing the sampler source in a Material Function, but it’s likely the same issue.
That’s correct, and the fix we’re most likely to implement is to not let the user override a parent material’s bindless TC (like the DefaultTextureCollection) with a VTC or visa-versa.
TC/VTC’s uniform buffer are not comptiable, that’s the root cause. why I met this problem with sampler type is the same issue , because I use TC as parameter default value, change to VTC in material instance, and it’s not take effect before I changed the sampler type, because there are a errror for the material if sampler type not set