Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] godot admob android with c# gives black screen and hangs on android #19

Closed
almunsaah opened this issue Nov 21, 2021 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@almunsaah
Copy link

I used this plugin to add ads to my game( using c#) and when I run my game on android device gives me black screen and hangs, I thought maybe the problem in my code but every thing is fine, so I tried to check test scene which comes with the plugin, I made new project contains only test scene which come with plugin and and replaced gd script by c# script(coming with plugin in test folder) after creating project solution, and checked the project on android, also gave me same result (Black screen and hangs).
Returning to gd script make project works and show ads, but using c# fails.
I followed all c# bugs for this plugin but I can't find any solution, should I use gd script?, I never use it!!!!

@gumaciel
Copy link
Contributor

Hi @almunsaah what Editor and Android plugin version are you using?

I will investigate this, thank you for report it

@almunsaah
Copy link
Author

Thank you for quick respond.
Godot 3.4, Mono version.
Admob plugin Details:
Android mono template: 3.4
Admob editor: 1.1.1

I hope you will give us quick solution to solve this problem, I don't like learning gdscript.
Thank you.

@gumaciel gumaciel transferred this issue from poingstudios/godot-admob-android Nov 23, 2021
gumaciel added a commit that referenced this issue Nov 23, 2021
- Change the unit_ids from "demo" to "standard" to avoid doubts like: #18
- Not allowing remove the first row of Ad Unit on Editor
- Added new key to config called "debug", having the "is_test_europe_user_consent" to make more clear what this parameter is used
- Fix Example.cs not working #19
- Added new Tab/Component on AdMobEditor called "Debug" having the "TestEuropeUserConsent"
- Added full config info on Example.gd, missing on .cs due limitation of C#
@gumaciel
Copy link
Contributor

@almunsaah Please test with this new version of Editor Plugin: https://github.com/Poing-Studios/godot-admob-editor/releases/tag/v1.2.0

Obs: Try the Example.tscn and change the Script to "Example.cs"

@almunsaah
Copy link
Author

It works, thank you very much.
I tested example project (mono version, c# file "example.cs"), works on android and shows ads, No black screen...No Hanging.
Thank you.

@gumaciel gumaciel changed the title godot admob android with c# gives black screen and hangs on android [BUG] godot admob android with c# gives black screen and hangs on android Nov 23, 2021
@gumaciel gumaciel self-assigned this Nov 23, 2021
@gumaciel gumaciel added the bug Something isn't working label Nov 23, 2021
@gumaciel
Copy link
Contributor

Thank you! Closing the issue since is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants