- Home /
Unity stops rendering
Hey all, seeking some wisdom, ideas, anything.
I acknowledge that the info I provide here is vague but it's all I have and I'm desperate.
I have a production iOS game that calls out to a third party SDK and they draw over our game with their own UI, we have a bug/issue where sometimes (less than 1 in 100 times) where upon return to our game the rendering ceases. We load a different scene and everything appears to work except nothing is rendered to the screen - the screen is left with the content from the previous scene (which happens to be a black blank screen) any ideas on what might be going wrong?
The process is:
1) Load empty scene that has 1 camera and a delegate object to receive callbacks from the third party SDK.
2) Call third party SDK - this draws their own UI (native iOS, not Unity) they do something with UIControllers or something to draw over our game.
3) Thrid party SDK calls back to our delegate (in the empty scene) we then load the next correct game scene.
4) Game scene loads but nothing renders - it's still showing the empty scene's content (we set the blank scene's camera's background to 0,2,0 so we can identify what is left rendered on the screen).
5) Although nothing is rendered the game runs properly (we can interact with it and hear the correct things happening - touch events are functioning etc) so we know we loaded the scene correctly.
I'm totally at a loss how to start addressing this. Any ideas, hints, etc would be greatly appreciated.
Using: Unity 4.5.5p5, also happens with 4.5.5f1
Hi, did you create a bug report for this as well? http://unity3d.com/BugReportingFAQ
No, I don't have a crash log or any real information for Unity to work with. And it's not reproducible. Do you think it's worth creating one still?
If you can share the Unity project with our QA engineers they should be able to reproduce it, so submit the bug report and reply here with the bug case number. How to submit: http://blogs.unity3d.com/2009/04/15/bug-reporting-and-you/
Hi @unimechanic,
This is a full production project with associated IP - are you suggesting I give our entire project source to the Unity QA engineers?
This issue is fixed but it was in the 3rd party SD$$anonymous$$ and unfortunately I don't know much about the fix other than I think it had to do with explicitly calling UnitySetPlayerFocus(0); UnityPause(true); when they take focus and calling UnityPause(false); UnitySetPlayerFocus(1); when they return focus to Unity.
Sorry I can't be more help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613180852im_/https://answers.unity.com/themes/thub/images/avi.jpg)