Hi there. I have 2 Null Item components that check whether a Mesh object has been provided and correct the script’s behaviour if not.
Here’s the amount of time they take to recalculate:
The whole scripts takes ~35 ms to recompute, and running it without Null Items makes it quite a bit smoother.
The resulting time with Null Items in use can be seen in the image below:
And setting Null Itmes on a Trigger that updates once in an hour only makes things worse:
Is there a way to clarify whether the Mesh is present without running these heavy null checks? Thanks in advance.


