Reply To: Possible [BUG] Transform.SetParent Methods not keeping global orientation

NodeCanvas Forums Support Possible [BUG] Transform.SetParent Methods not keeping global orientation Reply To: Possible [BUG] Transform.SetParent Methods not keeping global orientation

#14660
Gavalakis
Keymaster

Hello again,

Thanks a lot for letting me know and for the information. Please note, that there is a setting in the GraphOwner inspector called “First Activation”. The default is “OnEnable”, but you can change this to “OnStart” so that the graph is called after all Awake and OnEnable calls of other scripts. This is something that appeared in recent versions and most probably the reason why you got the issue in the first place.

Thus, changing this to “On Start” will most that certainly solve your problem. Let me know if that indeed works for you.

Thanks!

Join us on Discord: https://discord.gg/97q2Rjh