Godot: 3.2.2 beta 2 Android crash when GodotPaymentV3 module enabled

Created on 9 May 2020  路  8Comments  路  Source: godotengine/godot

Godot version:
Broken:
3.2.2 beta 1
3.2.2 beta 2

Works fine:
3.2.1 stable

OS/device including version:
Android/Samsung Note 9
Issue description:
crash with godot payment v3 module enabled
Steps to reproduce:
add godot payment v3 module and export project
image
Minimal reproduction project:

bug android regression porting

Most helpful comment

@m4gr3d We should probably add some code to ease the transition.

We could either:

  • Add some conversion from android/modules to the relevant preset options
  • Raise a warning when android/modules is defined, so that users know that they need to port it to the new system

All 8 comments

Can you retrieve crash logs with adb logcat with a debug export?

@HEAVYPOLY This is expected behavior as GodotPayment has been refactored based on the new plugin architecture.
To enable it, add GodotPayment to the Android export window (not the project settings module window as shown in your screenshot) in the Plugins (under Use custom build) section.

@m4gr3d We should probably add some code to ease the transition.

We could either:

  • Add some conversion from android/modules to the relevant preset options
  • Raise a warning when android/modules is defined, so that users know that they need to port it to the new system

Thanks! @m4gr3d is the GodotPayment a 1:1 replacement for GodotPaymentV3? Do I need to change anything else in my working code to migrate? eg: Engine.has_singleton("GodotPayments") is still valid?

Thanks! @m4gr3d is the GodotPayment a 1:1 replacement for GodotPaymentV3? Do I need to change anything else in my working code to migrate? eg: Engine.has_singleton("GodotPayments") is still valid?

@HEAVYPOLY yes, it's a 1:1 replacement with additional bug fixes.
The name to use in your scripts should be GodotPayment, instead of GodotPayments.
The documentation will be updated accordingly.

Great, thanks. This won't affect iOS payment in any way right?

Fixed by #38749.

Was this page helpful?
0 / 5 - 0 ratings