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
IsVisible = false although actually is visible. OnBecameVisible event is the event used to change the value of that flag. Because this event was already triggered, when you add the Outline component, the value visible doesn't change because the event was fired before
Fix
Possibly, do some checks at OnEnable and decide if this object is visible or not
Workarround
Forcing the mesh to disable/enable triggers again OnBecameVisible event
If you add outline after start, it doesn't work.
Steps
Cause
IsVisible = false although actually is visible. OnBecameVisible event is the event used to change the value of that flag. Because this event was already triggered, when you add the Outline component, the value visible doesn't change because the event was fired before
Fix
Possibly, do some checks at OnEnable and decide if this object is visible or not
Workarround
Forcing the mesh to disable/enable triggers again OnBecameVisible event
The text was updated successfully, but these errors were encountered: