Page 1 of 1

[20.6] Imported (OctaneDB) material/assets issue

Posted: Thu Dec 19, 2019 10:38 pm
by ChrisH
I imported a material from the Octane DB/Live DB that rendered first the first time, but then rendered black in the next render.
I've tried reimporting the material etc and it seems that after the render has finished the assets/textures (that was saved in AppData\Local\OctaneRender\cache\texCache\assets) of the material get deleted (including the assets folder).
The image might linger some if it's opened in Blender's Image Editor, but if you try to change its settings etc it will appear as missing ("Can't load...").

I've solved it by resaving the images to another location (packing them might've worked as well), but that's a tedious workaround..

I made a screen recording of the issue, although it didn't capture the Octane DB window it shows the problem in Blender.
Blender 2019-12-19 23-50-09.mp4
(24.43 MiB) Downloaded 1390 times

Re: [20.6] Imported (OctaneDB) material/assets issue

Posted: Fri Jan 10, 2020 10:20 am
by DrawFun
Hello ChrisH,

Thanks for your report and video. That really helps!
This feature works for me so it seems to be a specific issue - the downloaded assets were removed somehow on your ends. Perhaps due to some os related limitations or permissions.
Two solutions that may help.
- As Blender uses the same cache folder as StandAlone, could you please check the texture cache size in the SA's preferences? Just in case the files were removed due to the limitations.
- In the next release, we'll introduce a setting about the "Octane texture cache folder" to allow users to change the texture cache folder. That would probably help.

Cheers,
DrawFun

Re: [20.6] Imported (OctaneDB) material/assets issue

Posted: Wed Jan 15, 2020 10:48 pm
by ChrisH
Perhaps due to some os related limitations or permissions.
Doubt that it's an OS/permission problem, since the output dir is

Code: Select all

C:\Users\[USER]\AppData\Local\OctaneRender\cache\texCache\
(and it writes to it/creates that dir).
(Maybe the Octane Server clears it since it's a "cache" dir)

I no longer have access to SA*, so I can't check the settings there.

I did some more testing today, here is some things I experienced:
  • Sometimes it stayed when I restarted the rendering
  • Sometimes when I imported a new material it would empty the dir and recreate the structure for the new material.
  • Sometimes it doesn't import/save the images/textures, just recreates the folders (Not at first, but then it kept doing it, even after restarting both the server and Blender.
    And both for new materials and materials that were imported earlier with textures) (The texture nodes would be "empty" [saying New/Open])
It seems that different materials create different folder structures, and one overrides the other(s):

Code: Select all

./bakedTex:
./imageTex:
./textures:
   'texturefile.jpg'

Code: Select all

.:
    'texturefile.jpg'
./bakedTex:
./imageTex:

Code: Select all

.:
./assets:
    'texturefile.jpg'
./bakedTex:
./imageTex:

(*Since we now have Prime, it didn't make much sense as a hobbyists, with only 1GPU, to pay monthly for something I could get for free.. I might "upgrade" in the future, if my situation changes.)