- Home /
Errors and bugs in player using unity ads. Works fine in editor.
Recently I have run into a bit of a major issue with my game. I am trying to implement unity ads to allow the player to continue with the game if they die. I got this to work great in the editor. Player dies, watches an ad then they respawns at the last checkpoint. However, it doesn't work quite so well in the player. when playing I get some errors related to my object pool not being able to load some sections of the level. I also get co routine errors such as this one: unityengine.setupcoroutine.invokemovenext(IEnumerator enumerator, IntPtr returnValueAddress) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
At this point I am at a total loss as to what is causing it. Some guesses are it could be unity ads trying to pause the game when it has the timescale set to 0. But why that would cause errors in the player and not the editor Is beyond me. I've been trying to fix this for a couple days now with no luck so any help is greatly appreciated!
Your answer
Follow this Question
Related Questions
Scripts don't work when i try app 2 Answers
yield return WaitForSeconds not returning for values greater than zero on Android 0 Answers
Coroutines (likely) running far too slow on Android, what's the issue? 2 Answers
I have a problem putting ads 1 Answer
Unity Ads doesn't Initialize properly 0 Answers