Reply To: Any Property can be used as PersistantIndex(int or string type) for FSMState?

NodeCanvas Forums General Discussion Any Property can be used as PersistantIndex(int or string type) for FSMState? Reply To: Any Property can be used as PersistantIndex(int or string type) for FSMState?

#15815
Gavalakis
Keymaster

Hello,

The way UID works now, is that one is generated only when it is requested and if that UID is requested in runtime, then it is not serialized. Thus the next runtime session one is requested a new one is generated. I could change this behaviour so that a UID is always generated when the node is created and this way it will be serialized and persistent. The only reason I haven’t done this already is to avoid generating UIDs for nodes that we don’t need a UID for and thus speed up deserialization.

Let me know what you think.

Thanks!

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