I’ve encountered an issue when using scriptable parameters.
I store per frame data in a json file side by side with the wrap project file (both of these are dynamically generated)
In the load geom node I then use the data from this json file to return a particular mesh for that frame.
I load the json file using code in the pythonCode field in the project file, and then access it from the parameter expressions
(BTW, why is the project script editor documented here not available?) https://r3ds.com/docs/Wrap/PythonScriptingForParameterExpressions/PythonScriptingForParameterExpressions.html#project-script
In the attached repro (ingest_scanset_problem.wrap) this appears to work fine, the UI updates with the correct information when moving along the timeline, however the loadgeom node does NOT trigger a reload. This behaviour seems to also happen in batch mode, as when I process the entire project it clearly uses the wrong mesh and text to render.
I’ve managed to restructure things so it works (moving along the timeline using the UI now correctly triggers reloads, but it appears that there is some issue detecting changes. My guess is somewhere in the python integration it is testing for object equivalence and not value equivalency to compare the old and new value for this frame.
I’ve discovered this issue in 2021.04.3 beta, but the attached project is manually recreated in 2020.12.2.
2020.12.2 does not have the projectDir() python command, so the project has a hardcoded path to c:\issue_repro in it. If you want to run the attached project you have to make sure it lives at c:\issue_repro\ingest_scanset_problem.wrap or update the hardcoded path in the pythonCode field in the project.