Reply To: Setting a Variable works in Editor but not in the Build

NodeCanvas Forums Support Setting a Variable works in Editor but not in the Build Reply To: Setting a Variable works in Editor but not in the Build

#14104
khalreon
Participant

Alright found the problem.

Apparently Port.isConnected only works in editor. Not in the build. So because the value always returns false in Build it always uses it’s own value which after reaching min-max either 0 or 1.

So i added a public bool which says useInputValue if ticked input value is used, if not ticked BBParameter is used for progress calculation.
So how can the script know in build, if the port was connected or not?