- 2019-12-05 at 10:45 am #21730
just got this message on exporting verge gltf.
“TypeError: Object of type Vector is not JSON serializable”
any clues as to what i should fix? (besides it having to do with a vector) ?
2019-12-05 at 12:44 pm #21739
- This topic was modified 1 month, 2 weeks ago by GlifTek.
hi, can you provide an example to reproduce? this seems like a bug in the exporter
Co-founder and lead developer at Soft8Soft.2019-12-05 at 11:58 pm #21755
Vector is not JSON serializable
ok i am pretty sure i ironed it down to this node group network here…
(i deleted everything else one by one and it always failed until i deleted this group…)
is it because the vector is going into a color mix?
when it leaves the node group it goes into a separate xyz.
(that setup is from a tutorial)
i thought of (and will try) to use a vector math then something else…
(still need to use the greater than math as a fac in something tho…)
Attachments:You must be logged in to view attached files.2019-12-06 at 12:43 am #21757
instead of the color mixer.. i tried it with a mix shader (to use the Fac) then to shader to rgb then to separate xyz.. worked in blender but didn’t export.
…no other nodes have Fac except for color mix and shader mix huh?
any other way i could combine the vectors AND the Fac (to mask)
(this is all to make a mirrored symmetrical pattern on the x axis of an object by the way)2019-12-06 at 1:41 am #21758
i just deleted it all .. then reconstructed it identically… and it works fine..
(actually this time i put the Separate XYZ WITHIN the node group.. so the output was “Z” as opposed to “Color”)..
2019-12-11 at 1:27 pm #21898
- This reply was modified 1 month, 2 weeks ago by GlifTek.
We actually found the cause of such crashes. It was indeed related to input/output sockets in node groups. Wasn’t easy to reproduce though and has happened occasionally only for some specific node setups.
This will be fixed in the next verge3d release. Thanks for the report
Co-founder and lead developer at Soft8Soft.
You must be logged in to reply to this topic.