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
When reparenting the camera through scripting, a single object below the camera's parents gets hidden. All objects above the parents and below the actor to get hidden stay visible.
2024-05-19.14-39-21.mp4
Steps to reproduce:
In any script's "OnStart", "OnEnable", or "OnAwake" method, simply reparent the camera to a child of whatever actor the script is on.
I did some more testing on this issue, and it seems like reparenting the camera outside of any of the initialization methods works. Even when I do have SetParent in an initialization method, I don't get any null reference exceptions, so I'm completely clueless as to why it does this.
Issue description:
When reparenting the camera through scripting, a single object below the camera's parents gets hidden. All objects above the parents and below the actor to get hidden stay visible.
2024-05-19.14-39-21.mp4
Steps to reproduce:
In any script's "OnStart", "OnEnable", or "OnAwake" method, simply reparent the camera to a child of whatever actor the script is on.
Minimal reproduction project:
ParentingTest.zip
Flax version:
1.8.1 release
The text was updated successfully, but these errors were encountered: