Textures fail to load from saved file if & in path.

Forums: Textures fail to load from saved file if & in path.
Sub forum for bug reports

Textures fail to load from saved file if & in path.

Postby SiliconAya » Fri Oct 08, 2021 3:51 am

SiliconAya Fri Oct 08, 2021 3:51 am
It's taken me about a week on and off to work this one out.

If you load a saved Daz Studio scene and there are any textures that have an & in their file path, the textures will fail to be loaded by the plugin, just leaving the texture input in the image node blank.

At any other time everything works fine, so it's not that the plugin can't handle & in file paths at all, it's just on either scene load or scene save, I can't tell which.
SiliconAya
Licensed Customer
Licensed Customer
 
Posts: 175
Joined: Tue Jul 30, 2013 12:00 pm
Location: Australia

Re: Textures fail to load from saved file if & in path.

Postby BK » Fri Oct 08, 2021 4:17 am

BK Fri Oct 08, 2021 4:17 am
Hi SilconAya,

Thanks for the post.
Would you please confirm if Load octaneRender materials from .duf user presets is enabled from preferences tab when you load the saved Daz Studio scene?

We recommend using the Path settings whenever working on a project like other 3d applications.

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1320
Joined: Mon Oct 31, 2016 7:54 pm

Re: Textures fail to load from saved file if & in path.

Postby SiliconAya » Sun Oct 10, 2021 10:20 am

SiliconAya Sun Oct 10, 2021 10:20 am
Yes it's ticked.

Other textures files load fine in the scene.

The character Gu Yu from a Daz PA on the Daz Store has it's diffuse and SSS textures in a sub-folder called "Base&SSS" any textures in the folder fail to load from a saved Daz Studio scene file, the other texture for the character (roughness, reflection, normal, etc) are in different sub-folders and load fine. Daz Studio and IRay also load the textures just fine, it's just the Octane Plugin the either doesn't save them or load them correctly.


I'm sure there are other products or there will be future products from the Daz store that'll have & in their paths. In fact I think I've had this problem in the past, but never worked out what the cause was.
SiliconAya
Licensed Customer
Licensed Customer
 
Posts: 175
Joined: Tue Jul 30, 2013 12:00 pm
Location: Australia

Re: Textures fail to load from saved file if & in path.

Postby BK » Sun Oct 10, 2021 11:41 pm

BK Sun Oct 10, 2021 11:41 pm
SiliconAya wrote:Yes it's ticked.

Other textures files load fine in the scene.

The character Gu Yu from a Daz PA on the Daz Store has it's diffuse and SSS textures in a sub-folder called "Base&SSS" any textures in the folder fail to load from a saved Daz Studio scene file, the other texture for the character (roughness, reflection, normal, etc) are in different sub-folders and load fine. Daz Studio and IRay also load the textures just fine, it's just the Octane Plugin the either doesn't save them or load them correctly.


I'm sure there are other products or there will be future products from the Daz store that'll have & in their paths. In fact I think I've had this problem in the past, but never worked out what the cause was.


Hi SiliconAya,

Thank you so much for the confirmation.
It sounds like the folder naming issue since it has a special character in between.

Would you please pack the Gu Yu character and PM us to investigate?

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1320
Joined: Mon Oct 31, 2016 7:54 pm

Re: Textures fail to load from saved file if & in path.

Postby Hun73rdk_1 » Tue Oct 26, 2021 9:01 am

Hun73rdk_1 Tue Oct 26, 2021 9:01 am
I can confirm names like this GLTC_B&O.JPG or 0901-socks-02.jpg will not load into octane without using "replace all active maps"
Join the Octane Daz Fan server for people that uses daz and octane https://discord.gg/wDzwC8tqAK
Hun73rdk_1
Licensed Customer
Licensed Customer
 
Posts: 115
Joined: Tue Mar 20, 2018 10:54 pm

Re: Textures fail to load from saved file if & in path.

Postby BK » Wed Oct 27, 2021 12:31 am

BK Wed Oct 27, 2021 12:31 am
Hun73rdk_1 wrote:I can confirm names like this GLTC_B&O.JPG or 0901-socks-02.jpg will not load into octane without using "replace all active maps"


Hi Hun73rdk_1,

thanks for the post.
yeah, we are able to replicate this issue.

Hope we can debug asap!

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1320
Joined: Mon Oct 31, 2016 7:54 pm

Re: Textures fail to load from saved file if & in path.

Postby huakiami » Thu Oct 28, 2021 6:06 pm

huakiami Thu Oct 28, 2021 6:06 pm
FYI BK -

I'm sure you are aware of this by now but this issue is the same as the one posted in the "COMMON ISSUES" section release stickies:

8) If you get a "Bogus Scene Path" error - this is due to having an apostrophe in the filepath of a texturemap (so store your textures in foldernames which do not have apostrophes).

It seems the plugin has difficulty loading textures from file paths containing certain characters, despite them being valid Windows path names. Not sure if it's a problem of improper escaping in the XML or something else, but just want to stress it would be great to get this bug solved entirely and not just fix it specifically for the "&" symbol.

Thanks!
huakiami
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Thu Nov 21, 2013 6:09 am

Re: Textures fail to load from saved file if & in path.

Postby BK » Fri Oct 29, 2021 1:21 am

BK Fri Oct 29, 2021 1:21 am
huakiami wrote:FYI BK -

I'm sure you are aware of this by now but this issue is the same as the one posted in the "COMMON ISSUES" section release stickies:

8) If you get a "Bogus Scene Path" error - this is due to having an apostrophe in the filepath of a texturemap (so store your textures in foldernames which do not have apostrophes).

It seems the plugin has difficulty loading textures from file paths containing certain characters, despite them being valid Windows path names. Not sure if it's a problem of improper escaping in the XML or something else, but just want to stress it would be great to get this bug solved entirely and not just fix it specifically for the "&" symbol.

Thanks!


Hi Huakiami,

Thank you so much for this info!

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1320
Joined: Mon Oct 31, 2016 7:54 pm

Re: Textures fail to load from saved file if & in path.

Postby toby_a » Fri Jul 22, 2022 12:11 am

toby_a Fri Jul 22, 2022 12:11 am
This issue should be fixed in version 2021.1.5_70: viewtopic.php?f=44&t=80166
toby_a
OctaneRender Team
OctaneRender Team
 
Posts: 261
Joined: Tue May 10, 2022 11:59 pm

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 3 guests

Fri Apr 19, 2024 6:35 am [ UTC ]