cgisca / PGSGP

Play Games Services plugin for Godot Game Engine - Android
MIT License
217 stars 61 forks source link

Nonexistent function 'init' in base 'JNISingleton'. #64

Open LowBudgetHomebrew opened 3 years ago

LowBudgetHomebrew commented 3 years ago

Hi there! Even the demo project has this error in Godot 3.3+ It feels like this project is abandoned a while ago but I'll still try :D

How to reproduce this error:

It's quite easy: open demo project with Godot 3.3, build it to your device and check logs with adb for this error

05-28 14:03:22.683 32653 626 E godot : **SCRIPT ERROR**: Invalid call. Nonexistent function 'init' in base 'JNISingleton'.

Ronfer commented 2 years ago

I'm having same error.

Did you find solution for this?

LowBudgetHomebrew commented 2 years ago

@Ronfer, nope

Ronfer commented 2 years ago

I found out that the problem was this function play_games_services.init() I was using wrong parameters in the function.

with play_games_services.init(true) I got the error message. instead i used play_games_services.init(true,false,false,"") and now everything is working fine

I'm also using the latest version of Godot 3.3

@LowBudgetHomebrew

LowBudgetHomebrew commented 2 years ago

@Ronfer, thanks for the advice, but it didn't helped :c

rickwillcox commented 2 years ago

@LowBudgetHomebrew Did you find a fix? I still cant figure this out. Ive remade everything from scratch and the app still crashes as soon as It gets to the init method.

LowBudgetHomebrew commented 2 years ago

@RickWillcox, same here, but I'm not even trying anymore. This repo is abandoned and this feature request doesn't seem to appear shortly

MartinDanihelDev commented 1 year ago

If anyone has still this problem try to use this version: RELEASES I have this problem too and this updated version fixed it for me :)