Reply To: [NOT EXPECTED] Default sub graph variable

NodeCanvas Forums Support [NOT EXPECTED] Default sub graph variable Reply To: [NOT EXPECTED] Default sub graph variable

#15393
Driiade
Participant

I fixed it, by just creating variable map in every case (with read && write to false too). And not checking if write is active to actually write the value.

I really think it’s the expected behaviour when you see grey default variable in the inspector. You think these values will be in the subGraph on entering it. Maybe you can add a sub mode, like “WriteDefaultIn” for people which doesn’t have my use case.

 

Tell me what you think ! (and yes, I’m working on SpongeBob: Patty Pursuit again, so see you more on the forum !)