virtual-puppet-project / vpuppr

VTuber application made with Godot 4
Mozilla Public License 2.0
721 stars 60 forks source link

[Bug]: Crash on VRM load #193

Open exodrifter opened 1 year ago

exodrifter commented 1 year ago

Description

Loading a VRM model I've created in VRoid studio works as expected. However, when loading a VRM model I have comissioned, the application crashes while loading.

Steps to reproduce

  1. Install vpuppr
  2. Run the VRM runner
  3. Click Model
  4. Click Load Model
  5. Select the model from my filesystem
  6. Crash

App version

0.9.0 alpha 2

Operating system

Arch Linux

Relevant log output

[INFO] VRM Runner 2022-12-28_13:52:49 Starting load_model for /mnt/dropbox/Dropbox/exo-neko-space-mechanic.vrm
[INFO] VRM Runner 2022-12-28_13:52:49 Loading /mnt/dropbox/Dropbox/exo-neko-space-mechanic.vrm using load_vrm
[INFO] VRM Runner 2022-12-28_13:52:49 Using vrm loader
VRM: Using builtin gltf module
/mnt/dropbox/Dropbox/exo-neko-space-mechanic.vrm
WARNING: Octahedral compression cannot be used to compress a zero-length vector, please use normalized normal values or disable octahedral compression
   at: norm_to_oct (servers/visual_server.cpp:346) - Octahedral compression cannot be used to compress a zero-length vector, please use normalized normal values or disable octahedral compression

godot_2022-12-28_14.43.05.log

Additional information

I see the same octahedral compression message when VRM files created by VRoid Studio load, so I doubt that error message is the cause of the issue even though it is always the last message in the log when I try loading my commissioned model.