Why do my sprites turn into black squares after I show an AdMob video?

  • Thread starter Thread starter Darkmisc
  • Start date Start date
  • Tags Tags
    Video
AI Thread Summary
A game developed in Godot is experiencing an issue where sprites turn into black squares after playing a rewarded video ad using AdMob and Shin-Nil plugins. The user has attempted several troubleshooting steps, including changing the graphics backend, rendering mode, disabling VSync, and checking texture settings, but none have resolved the issue. There is speculation that the problem may stem from the plugin causing sprite data to be reinitialized or altering sprite pointers in memory. Users are encouraged to investigate potential side effects related to the plugin based on others' experiences.
Darkmisc
Messages
222
Reaction score
31
TL;DR Summary
I've made a game in Godot that works fine. However, after I play an AdMob video, all the sprites become black squares.
Hi everyone

I've made a game in Godot and added AdMob ads to it using the Shin-Nil plugins.

The game works fine when I run banner ads. However, after I play a rewarded video, all my sprites turn into black squares.

I've tried the following suggestions from ChatGPT and none of them work.

  1. Change the graphics backend. Go to Project > Project Settings > Rendering > Quality > Driver and try changing the graphics backend to a different one, such as GLES3 or Vulkan.
  2. Change the rendering mode. Go to Project > Project Settings > Rendering > Quality > Rendering > Mode and try changing the rendering mode to a different one, such as Spatial or 2D.
  3. Disable VSync. Go to Project > Project Settings > Rendering > Quality > VSync and disable VSync.
  4. Check your project settings. Go to Project > Project Settings > Rendering > Quality > Texture > Flags and make sure that the Filter and Mipmaps options are enabled.

Does anyone know why the videos are causing my sprites to turn into black squares?Thanks
 
Technology news on Phys.org
I would search with google. It’s well known that ChatGPT solutions are totally believable but highly unreliable. When they fail then you must search to find your answer.

the only thing I can think of is something reinitialized your sprite data to be all zeros or something changed the sprite pointer to another area of memory. Since you mentioned using a plug-in you should look for what side effects others have experienced with it in the past.
 
  • Like
Likes phinds and Darkmisc
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top