ontriggerenter not working

How to post code properly on the forums: Using code tags properly

To figure out what’s going wrong you need to do a little debugging. Try printing out the name of the object you’re colliding with as a first step"

Debug.Log($"Trigger entered: {texture.name}");