Play sound - pb filtering the sound file name from Blender 2.8

for info if you encounter too this problem with the Play Sound Node … see here https://github.com/armory3d/armory/issues/1218

@lubos for info, after trying to replicate the Play Sound Node in order then to filter the name file which creates problem, I observe something strange when looking at the .hx file generated by the compilator and doing a comparison between what is coming from in the original node, that is the line

_PlaySound.property0 = " toto.wav";

and what is coming from my duplicated node (thus with same code) it becomes

_Playxxx.property0 = <bpy_struct, Sound(“toto.wav”)>;

which creates the Haxe compiler error “Unterminated XML literal”

Maybe you know the reason why it’s happening while it’s the same node code ?

1 Like