Data.Remember Node bug when re-opening Dynamo Script

Hi everyone, I am building a generative design script which looks to run fine in Dynamo, but when I re-open that file - my Data.Remember nodes appear to all have an extra input and output. The information being stored in there all have some warning assigned to them and when I run it again no information is passing through those nodes anymore. I can only upload one image but some of give the warning “Warning: An element with the same key but a different value already exists. Key: >”

If I try to run it as a Study in Revit, my outputs downstream of those nodes have no value, so I assume the same thing is going on.

Has anyone else seen this happen? Is there an easy fix? I have made a few other Generative scripts before and never encountered this before. Working in Revit 2022.1.

This is a conflict with a Revit or Dynamo, likely with an incorrect Newtonsoft JSON being loaded into Revit’s context.

  • Restart the CPU
  • Disable all Revit add-ins and customizations
  • Disable all Dynamo packages and customizations
  • Start Revit, launch Dynamo, and open this graph to confirm the issue doesn’t persist
    • if it does confirm you disabled everything (every time I have heard “we did” they hadn’t, so double check. Once you’ve confirmed everything is off contact support directly via the accounts portal at manage.autodesk.com.
  • Close Revit, and re-enable Dynamo packages and customizations
  • Start Revit, launch Dynamo, and open this graph to confirm the issue doesn’t occur
    • If it does occur, one of your Dynamo packages or customizations is at fault. Shut down and restart Revit, enabling packages and customizations in batches until you find the culprit.
      • Once the culprit is found, either leave it disabled or update it to remove the conflict (this may require reaching out to the original author)
  • Close Revit and re-enable Revit add-ins and customizations
  • Start Revit, launch Dynamo and open this graph to confirm the issue doesn’t occur
    • If it does occur, one of your Revit add-ins or customizations is at fault. Shut down and restart Revit, enabling packages and customizations in batches until you find the culprit.
      • Once the culprit is found, either leave it disabled or update it to remove the conflict (this may require reaching out to the original author)

Thank you for the response! Followed these steps and found it to be two different versions of the Generative Design package loaded. Idk how that happened but after uninstalling all Dynamo packages/customizations and rebooting + re-installing them it worked great!

Thanks again

1 Like