TSKI433 / hime-display

A universal desktop model displayer for Live2D, Spine, MMD and VRoid.
https://hime.xdrv.cn
GNU General Public License v3.0
188 stars 10 forks source link

"cannot set properties of null (setting 'scale') #1

Open jhosueRs opened 2 years ago

jhosueRs commented 2 years ago

Hi! I've been loving the app so far, unfortunately whenever I try to open an Spine file v3.5 I get the the error "Display Error: Uncaught TypeError: Cannot set properties of null (setting 'scale'). And when I try to open another Spine file v4.01 I get the error "Display Error: Uncaught RangeError: Offset is outside the bounds of the DataView" I attached the files I was working with c010_2.zip baiken2.zip

TSKI433 commented 2 years ago

Thank you for reflecting the problem.

About the error of loading spine 3.5: Different versions of spine are not compatible.This project use pixi-spine to load spine models. It only support Spine 3.7, 3.8, 4.0, 4.1, so Hime Display can not load spine 3.5 yet. If you want to load spine 3.5, you can use the official tool to convert version, or you can try to use SpineConverter to convert the model to spine 3.8.

About the error of loading spine 4.0.1: It seems to be an internal error of spine-runtimes . I think it's likely that the model does not meet the specifications, so the loader can’t parse the model file properly. So this problem is hard to resolve now.