Home › Forums › Graphics / Blender › TypeError: Object of type Vector is not JSON serializable
- This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Ivan Lyubovnikov.
-
AuthorPosts
-
2019-12-05 at 10:45 am #21730GLiFTeKCustomer
hi
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) ?thanks
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-12-05 at 12:44 pm #21739Ivan LyubovnikovStaffhi, 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 #21755GLiFTeKCustomerVector 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…)Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-12-06 at 12:43 am #21757GLiFTeKCustomerinstead 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)Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-12-06 at 1:41 am #21758GLiFTeKCustomerweird…
i just deleted it all .. then reconstructed it identically… and it works fine..
very strange.
(actually this time i put the Separate XYZ WITHIN the node group.. so the output was “Z” as opposed to “Color”)..
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-12-11 at 1:27 pm #21898Ivan LyubovnikovStaffWe 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.
-
AuthorPosts
- You must be logged in to reply to this topic.