catchyid Posted June 30, 2021 Share Posted June 30, 2021 (edited) Hi, I am loading assets using a python script node (see image). The assets are being cached on the farm and the first time the script runs, most probably, the cache would be empty hence the python code loads nothing (makes sense), after a while the cache gets created, HOWEVER, the script python node does not re-run and gives the previous cached result (which is empty cache) --> so, to force manual reevaluation of the code, I just go inside the script, add a space or do any modification and rerun the code and the now the cache gets loaded! Any ideas how to designate that this python script should be always run and not use the previous cached result? I am also open for a better approach if it exists cheers Edited June 30, 2021 by catchyid typo Quote Link to comment Share on other sites More sharing options...
catchyid Posted June 30, 2021 Author Share Posted June 30, 2021 an update if someone is having the same issue --> hou.time() makes code frame dependent so it will cook on each frame (even no input has changed) which fixes the problem 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.