Page 1 of 1

Crash importing from Assest library 27.8

Posted: Sun Feb 19, 2023 1:41 pm
by Flyx
Hi,

I'm actually trying to build a library with textures comming from ambienCG.

My blend file containing the shaders works and render fine. If i manually append or link from them it also work.
But when i'm using the assets library to merge the shaders, blender crash as soon as i render, or if i have a shader node window visible.

You can find linked to the thread the crash report, and one of the blend file used in the library.
The library file contain both octane and cycle, but even with only octane nodes it crash, with only cycle nodes it works as expected.

I did not packed the texture as the file would be too large, but you can easily download them from AmbientCG.com for free.

Regards

Re: Crash importing from Assest library 27.8

Posted: Wed Mar 01, 2023 5:42 pm
by Flyx
UPDATE:

It's still crashing with the 27.10.

Another user had a crash too when he tried with the latest rgb and gray image node, so did a new test on my side with the old imagetex and it looks like it's working.

I wondered why some shader loaded fine and some other crashed, all the working ones were effectively made with the imagetex.

So the problem comes from the newest node RGB and/or GRAY image when loaded from the Assets library

Regards

Re: Crash importing from Assest library 27.8

Posted: Fri Mar 10, 2023 9:25 am
by linograndiotoy
I'm not getting any crash here (2.11). Would you mind testing your file in the new version please?

Re: Crash importing from Assest library 27.8

Posted: Sun Mar 19, 2023 12:58 pm
by Flyx
It's still crashing on 27.11 when starting the render after importing shader using rgb or gray image nodes from the assets browser.
Shaders using the old imagetex works as expected.

I made a very long post explaining in details all of the test i made trying to pinpoint the issue, and my conclusion about this problem, got disconnected...lost everthing...i'll not write everything again so i will summarize:

If you are importing (link or append, from the menu or the assets tracking) a shader using a rgb or gray image node in a scene in wich one of those was never added mannually, the render will crash
If you are importing a shader using a rgb or gray image node in a scene already using those nodes, or having one before, even if it was then deleted it doesn't matter, as long one was mannually added in the file before it will work.

That's must be why you are not getting any crash, you are certainly using already existing scene, or having a default scene wich has seen the light of those nodes before.
That's why i'm getting crash, i just switched to blender/octane recently, every file i have are completely clean an clear of any octane stuff, and as i'm always using assets right away i was having constant crash and never tried to link or append shader again.

Hope you will find the issue of this, my guess is that those nodes are not registred in the code by default, so if you never created one of them prior to importing, blender create the interface, but when launching the render he don't know what to do with them.