Comments (8)
@AGulev You were correct.
It seems I was initializing the Unity ads in my GUI script, but calling load in my main.script init()
, in the code I used to reset my game state.
I have added unityads.is_initialized()
checks before I call load
now, and it works great.
Appreciate your help and this great library 😀
from defold-extension-unity-ads.
Can't reproduce the issue using the extension example (Pixel 4a, Android 13 the latest beta )
Do you reproduce it using the example or maybe in your game?
If it's in you game what the other dependencies you have?
Could you try to create a minimal repo case?
from defold-extension-unity-ads.
The bug you linked related to Android 13 in the other issue must be a frustrating one. It certainly makes me hesistant o release any updates.
I will try to reproduce the issue using the demo project this evening and will let you know how it goes.
Here's my dependency list for the game:
dependencies#0 = https://github.com/rgrams/rendercam/archive/refs/tags/1.0.3.zip
dependencies#1 = https://github.com/AGulev/DefVideoAds/archive/refs/tags/4.4.0.zip
dependencies#2 = https://github.com/defold/extension-gpgs/archive/refs/tags/2.5.1.zip
dependencies#3 = https://github.com/subsoap/defsave/archive/refs/tags/v1.2.4.zip
dependencies#4 = https://github.com/defold/extension-iap/archive/refs/tags/4.0.0.zip
dependencies#5 = https://github.com/SkaterDad/extension-review/archive/refs/heads/update-android-lib.zip
dependencies#6 = https://github.com/subsoap/defglot/archive/refs/heads/master.zip
from defold-extension-unity-ads.
I'll try to repo it using your dependencies
from defold-extension-unity-ads.
@SkaterDad I can't reproduce it on my Pixel 4a
pls, try to repo the issue using the extension's example project
from defold-extension-unity-ads.
@SkaterDad according to your log it seems like you call load
method before ads initialization
could you pls check that?
from defold-extension-unity-ads.
yes, I'm right here.
I can repo the same issue if I call
unityads.load(INTERSTITIAL)
before
unityads.initialize()
pls check your code
from defold-extension-unity-ads.
Thanks for looking again. I'll review the code again add some logging to test your theory.
from defold-extension-unity-ads.
Related Issues (20)
- UnityAds SDK new version cause game to Crash HOT 6
- Unity ANR's HOT 1
- Unity ANR's HOT 1
- Add `Load` API when it releases from closed beta
- Allow NSUserTrackingUsageDescription to be configurable HOT 3
- Allow SKAdNetworkItems in Info.plist to be configurable HOT 1
- Refactoring
- `unityads.load()` in `script_api`
- Android: Banner ads cutout in phone safe area HOT 3
- Add new API for Privacy consent and data APIs
- Redundant define for DLIB_LOG_DOMAIN HOT 1
- [4.2.1] Crash after rewarded video on Android HOT 5
- AndroidManifest.xml modification HOT 1
- iOS Simulator Build Target HOT 2
- step by step documentation HOT 9
- 4.9.3 Crashes with a banner load request HOT 1
- Crashes game on very first run HOT 11
- Conflict with Defold 1.2.155 updates HOT 2
- Receiving Multiple Callbacks on AdClose event . HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defold-extension-unity-ads.