materials not loading and freeze - maybe this is a solution

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
philmaron
Licensed Customer
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Hey guys,
once in a while it occurs to me that older Cinema 4D Files with Octane Materials won't open. It loads forever, gets stuck, c4d freezes. Reason for that are Cinema 4D Gradients used inside the shader tree. They are supported, you may use them, but sometimes it can be problematic. It seems only to happen with older scenes.

Maxon Support told me there would happen a loop in correlation with the Substance Module of Cinema 4D, even when not using Substances or Substance Assets inside your scene. The Substance Engine is necessary to "walk through the shader tree" via Octane, to quote Maxon Support. Therefore, in case you have the same issue, I present to you my Solution:
Go to you Cinema 4D directory (depending on version and operation system the location may differ) and find the folder "modules" which is filled with ".xdl64" and ".cdl64" filetypes. Find "substance.cdl64" and delete or remove it from this directory. I removed "c4doctane" from my plugins directory so there is no room for errors between Octane and Substance for sure. Start Cinema 4D, it might load a little while longer than you are used to, yet it will open the file properly.
You could try it with Octane inside the plugins and try to find the gradient used in the materials. I'd rather suggest using the c4d function "Material Exchanger" to get working materials with the same name from other files, or, sadly, delete all the materials and replace them. One trick might help you: If you create new materials and import/copy-paste/merge them into your file with the problematic materials, Cinema 4D allows to replace single materials by drag&drop the new material onto the old one while holding the ALT key.

In case that's too much work, I'd kindly ask the Octane Support to either find or remove the Materials for you. I found out which material caused the problem by contacting aoktar via forum thread and now am able to remove every instance of it in around 64 scene files myself.
Last edited by philmaron on Fri May 10, 2019 8:33 am, edited 1 time in total.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Could you please revise the title? It sounds like a common problem for every materials/setups.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
philmaron
Licensed Customer
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Sure. Yet Maxon Support told me they get a lot of these scenes to fix. So yeah, might be not too uncommon. Especially since it shouldn't be possible to create loops which kinda break the scene.
Post Reply

Return to “Maxon Cinema 4D”