Hi,
As I am working on some OSL code, and after I have done the initial load, you can no longer reload any new or changed code into the node. I have tried to delete the node and add a new one, but as long as the name doesn't change it will not update. The only way I have found to get around this is to quit and restart Blender, which is a pain.
Jason
[21.7] Can not update code in OSL node
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.
All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.
All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
- linograndiotoy
- Posts: 1365
- Joined: Thu Feb 01, 2018 7:10 pm
Sounds odd. Can you please make a video showing the issue?
Unfortunately my system is not setup for a video. But it's very easy to test...
1) load an OSL script into the node (I used an external script).
2) make a change to the script, the easiest to see is if you make a change to an input pin name.
3) reload the script and/or recompile and the node will not change.
It's almost like the code is cached but the cache doesn't get updated?
Jason
1) load an OSL script into the node (I used an external script).
2) make a change to the script, the easiest to see is if you make a change to an input pin name.
3) reload the script and/or recompile and the node will not change.
It's almost like the code is cached but the cache doesn't get updated?
Jason
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
- linograndiotoy
- Posts: 1365
- Joined: Thu Feb 01, 2018 7:10 pm
It worked here.
Please check if that works for you in the next available build.Thanks, but that is an internal script, which works. My problem is with external scripts, but it's good to have a workaround for now. 
Jason

Jason
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
- linograndiotoy
- Posts: 1365
- Joined: Thu Feb 01, 2018 7:10 pm
Great then!grimm wrote:Thanks, but that is an internal script, which works. My problem is with external scripts, but it's good to have a workaround for now.
Jason