virtual-puppet-project / vpuppr

VTuber application made with Godot 4
Mozilla Public License 2.0
725 stars 62 forks source link

version 0.9.0-alpha-2 does not run, Interpolation #161

Closed pasqui23 closed 1 year ago

pasqui23 commented 1 year ago

I have compiled the custom godot according to the README but as soon as i click on "Run" it give me the error:

SCRIPT ERROR: Parse Error: The identifier "InterpolationHelper" isn't declared in the current scope.
          at: GDScript::reload (res://model/interpolation_data.gd:72)
SCRIPT ERROR: Parse Error: The identifier "InterpolationHelper" isn't declared in the current scope.
          at: GDScript::reload (res://model/interpolation_data.gd:72)
SCRIPT ERROR: Parse Error: The class "InterpolationData" couldn't be fully loaded (script error or cyclic dependency).
          at: GDScript::reload (res://model/extensions/puppet_trait.gd:156)
SCRIPT ERROR: Parse Error: The class "InterpolationData" couldn't be fully loaded (script error or cyclic dependency).
          at: GDScript::reload (res://model/extensions/tracking_backend_trait.gd:31)
SCRIPT ERROR: Parse Error: The class "TrackingBackendTrait" couldn't be fully loaded (script error or cyclic dependency).
          at: GDScript::reload (res://model/extensions/runner_trait.gd:12)
SCRIPT ERROR: Parse Error: The identifier "InterpolationHelper" isn't declared in the current scope.
          at: GDScript::reload (res://model/interpolation_data.gd:72)
SCRIPT ERROR: Parse Error: The class "InterpolationData" couldn't be fully loaded (script error or cyclic dependency).
          at: GDScript::reload (res://model/extensions/puppet_trait.gd:156)
SCRIPT ERROR: Parse Error: The identifier "InterpolationHelper" isn't declared in the current scope.
          at: GDScript::reload (res://model/interpolation_data.gd:72)
SCRIPT ERROR: Parse Error: The class "PuppetTrait" couldn't be fully loaded (script error or cyclic dependency).
          at: GDScript::reload (res://screens/default_runner.gd:24)
SCRIPT ERROR: Parse Error: The identifier "logger" isn't declared in the current scope.
          at: GDScript::reload (res://resources/extensions/vrm/vrm.gd:10)
SCRIPT ERROR: Invalid call. Nonexistent function 'new' in base 'GDScript'.
          at: load_godot_resource_from_path (res://utils/file_util.gd:43)
ERROR: Condition "p_value.get_type() == Variant::NIL" is true. Returned: err(0x7fffffff, "Result is null, this is likely a function failure")
   at: wrap (modules/youwin/result.cpp:175)

without any change in the UI

pasqui23 commented 1 year ago

To be fair the prebuilt binaries from github do work correctly so I guess the error is in the istructions given in the README.

you-win commented 1 year ago

Yes it looks like the modules_file.txt from the godot-module-applier repo was left out of the readme. There are some custom c++ modules needed for running vpuppr.

pasqui23 commented 1 year ago

Yep it was a mistake on my part, forgot to add vpuppr-godot-modules to the c++ extra modules