you-win / live2d-test-project

Apache License 2.0
3 stars 1 forks source link

Attempt to call function 'new' in base 'NativeScript' on a null instance. #3

Open zinzui12345 opened 1 year ago

zinzui12345 commented 1 year ago

Godot Engine v3.5.1.stable.official.6fed1ffa3 - https://godotengine.org OpenGL ES 3.0 Renderer: AMD KABINI (DRM 2.50.0, 5.13.0-51-generic, LLVM 12.0.0) Async. shader compilation: OFF

res://cubism-rs/libgodot_cubism.so:0 - Error loading GDNative file res://cubism-rs/libgodot_cubism.so: GodotEngine v4.* is not yet supported. See https://github.com/godot-rust/godot-rust/issues/396

res://test-screen.gd:38 - Attempt to call function 'new' in base 'NativeScript' on a null instance.

you-win commented 1 year ago

The rust bindings need to be updated to the latest version. I believe this line needs to be updated to 0.11.0 .

Note: the bindings are still very experimental and requires a shader to emulate a stencil buffer, which still needs to be figured out