godot-admob-plugin
godot-admob-plugin copied to clipboard
Import error
Godot version
v4.2.1
Plugin version
v3.1.0
System information
MacOS 14.1.2 (23B92)
Phone information, if applicable
No response
Issue description
Parser Error: Invalid argument for "new()" function: argument 2 should be "State" but is "AdapterStatus.State".
Steps to reproduce
Download and import from github or asset have error Parser Error: Invalid argument for "new()" function: argument 2 should be "State" but is "AdapterStatus.State".
Additional context
No response
Thank you for opening this issue, we will investigate
i fixed for temp 🧛
i fixed for temp 🧛
I am getting an error when trying to use your fix. Using the latest version of Godot.
hi @ZachBeauchamp are you trying on iOS or Android?
hi @ZachBeauchamp are you trying on iOS or Android?
Hi, I am trying to use it for Android.
I was able to fix it. I removed the ": AdapterStatues.State" assertion. Thanks to user "Arcana" on the godot discord server.
@ZachBeauchamp and @wozpi were you guys testing on iOS or Android?
@ZachBeauchamp @wozpi I can't reproduce either in Android or iOS :(
- The change in @wozpi is more appropriate but it's the "same thing" as before and shouldn't break the code.
Can you guys please try again in Godot 4.2.2?
@ZachBeauchamp @wozpi I can't reproduce either in Android or iOS :(
- The change in @wozpi is more appropriate but it's the "same thing" as before and shouldn't break the code.
Can you guys please try again in Godot 4.2.2?
Check to see if the the fix I offered is just automatically in your version. For some other people I have talked to it was.
I will close this issue since I did not reproduce it and it seems fixed by you.
If someone still has this problem please re-open it.
Stills happens when some class in the project has the same name as State