I'm working with Bolt on UI elements for my game, and some of the canvas elements seem to cause warning messages like this:
Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
UnityEngine.Transform:set_parent(Transform)
AV.Hierarchy.DetachOnBuildProcess:OnProcessScene(Scene, BuildReport) (at Library/PackageCache/com.av.smart-hierarchy@5a8cc0892c/Base/DetachOnBuildProcess.cs:45)
UnityEditor.Build.BuildPipelineInterfaces:OnSceneProcess(Scene, BuildReport)
I'm working with Bolt on UI elements for my game, and some of the canvas elements seem to cause warning messages like this:
Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues. UnityEngine.Transform:set_parent(Transform) AV.Hierarchy.DetachOnBuildProcess:OnProcessScene(Scene, BuildReport) (at Library/PackageCache/com.av.smart-hierarchy@5a8cc0892c/Base/DetachOnBuildProcess.cs:45) UnityEditor.Build.BuildPipelineInterfaces:OnSceneProcess(Scene, BuildReport)