So here is an odd bug im having with unity (im having lots of unreal shit happening with my code that shouldnt be possible with programming atm but here we go)
I keep getting this error
Destroying object immediately is not permitted during physics trigger and contact callbacks. You must use Destroy instead.
Heres the thing, In the script im making I NEVER use any sort of Destroy function
when i double click the error it brings me to this line
mesh1.enabled=false;
basically its an occlusion culling and im just turning off the models visual mesh
does anyone have any idea whats going on here