You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public bool IsVisible(int index);
Note that this method uses the most recently computed visibility states. Visibility is updated immediately before rendering, so using this method in Update/LateUpdate will provide results based on calculations from the previous frame.
IndexOf and all its usages, including IsVisible return invalid results because of indices mismatch between current m_Targets list and CullingGroup latest culling results on the frame when m_Targets is being modified.
Consider using EraseSwapBack group of methods.
The text was updated successfully, but these errors were encountered:
Hi!
From the documentation:
IndexOf
and all its usages, includingIsVisible
return invalid results because of indices mismatch between currentm_Targets
list andCullingGroup
latest culling results on the frame whenm_Targets
is being modified.Consider using
EraseSwapBack
group of methods.The text was updated successfully, but these errors were encountered: