Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
156 stars 25 forks source link

[BUG] Bug while trying to export on legacy versions #210

Closed AlejandroTp11 closed 1 month ago

AlejandroTp11 commented 1 month ago

I haven't been able to export an animated model, I get this message.

------ Error ------ The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined // "Time to fire up the ol' debugger!" ------ Stack ------ TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined at node_internal_captureLargerStackTrace (node:internal/errors:464:5) at new NodeError (node:internal/errors:371:5) at nodeinternal (node:internal/fs/utils:879:9) at Object.writeFileSync (node:fs:2150:5) at Object.writeFile (file:///C:/Users/ASUS/AppData/Local/Programs/Blockbench/resources/app.asar/js/file_system.js:376:7) at exportRigModels (https://builds.animated-java.dev/download/legacy-armorstands/animated_java.js?_=1720793268389:14790:20) at computeAnimationData (https://builds.animated-java.dev/download/legacy-armorstands/animated_java.js?_=1720793268389:16201:11)

Build ID: git-legacy-e69493cd3d136f54c543410ead523d0ea04718f2d20692828a2e1f4d250a1645

What can I do

SnaveSutit commented 1 month ago

Legacy versions aren't supported unfortunately. So you'll have to tinker around with it on your own to see if you can fix it.

This looks like a texture loading issue, so you could try removing the texture from the project and re-adding it.