lennart-g / blender-md2-importer

Quake 2 MD2 import add-on for Blender 3.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key "Principled BSDF" not found

zetanumbers opened this issue · comments

Encountered an error during md2 model import

Error message Снимок экрана 2023-11-13 в 18 17 55

Source of error:

bsdf = mat.node_tree.nodes["Principled BSDF"]

blender --version
Blender 3.6.5
build date: 2023-10-18
build time: 23:49:48
build commit date: 2023-10-16
build commit time: 14:30
build hash: cf1e1ed46b7e
build platform: Darwin
build type: release
build c flags:  -Wall -Werror=implicit-function-declaration -Werror=return-type -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wstrict-prototypes -Wmissing-prototypes -Wunused-parameter -Werror=unguarded-availability-new  -mmacosx-version-min=11.00 -Xclang -fopenmp -I'/Users/blender/git/blender-v360/blender.git/../lib/darwin_arm64/openmp/include' -std=gnu11  -pipe -funsigned-char -fno-strict-aliasing -ffp-contract=off  
build c++ flags:  -Wall -Wc++20-designator -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wno-overloaded-virtual -Wno-sign-compare -Wno-invalid-offsetof -Wno-suggest-override -Werror=unguarded-availability-new  -mmacosx-version-min=11.00 -ftemplate-depth=1024 -stdlib=libc++ -Xclang -fopenmp -I'/Users/blender/git/blender-v360/blender.git/../lib/darwin_arm64/openmp/include'  -pipe -funsigned-char -fno-strict-aliasing -ffp-contract=off  
build link flags: -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework Metal -framework QuartzCore -framework Accelerate -framework ForceFeedback -framework GameController -framework CoreHaptics -liconv -Wl,-unexported_symbols_list,'/Users/blender/git/blender-v360/blender.git/source/creator/symbols_apple.map' -stdlib=libc++
build system: CMake

Same as armory3d/armory#1407
Fixed with armory3d/armory@ced8cd8

Hi @zetanumbers,

I'm not familiar with that library. Is the issue you encountered a bug in this md2 importer plugin or in the blender Armory add-on?

The fix you linked appears to be included in Armory Release 21.06 so I assume the problem does not appear with recent Armory versions anymore?

No, I don't use armory, it only had a similair issue. Sorry for the confusion. I've added additional info on encountered error. However, i can no longer reproduce it, so i close it for now.