• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by larku · Jan 19, 2015 at 03:48 PM · renderingbug4.5

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

Comment
Add comment · Show 14
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SaraCecilia · Jan 19, 2015 at 03:51 PM 0
Share

Hi, did you create a bug report for this as well? http://unity3d.com/BugReportingFAQ

avatar image larku · Jan 19, 2015 at 03:54 PM 0
Share

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?

avatar image unimechanic ♦♦ · Jan 19, 2015 at 07:04 PM 0
Share

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/

avatar image larku · Jan 20, 2015 at 01:53 AM 0
Share

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?

avatar image unimechanic ♦♦ · Jan 20, 2015 at 01:39 PM 0
Share

If you can isolate the problem into a $$anonymous$$imal project, that would actually be better for QA and developers. Otherwise the full project would be required.

avatar image larku · Jan 20, 2015 at 02:02 PM 0
Share

Hi @unimechanic,

I've created a project with the $$anonymous$$imum that we think will reproduce the issue and we're now attempting to reproduce it with this version. Some complications that perhaps you can suggest how to address:

1) Bug only occurs on iOS - the project can only be used on iOS due to the third party SD$$anonymous$$ involved.

2) In our experience this bug only happens on specific devices (iPhone 4s and iPad $$anonymous$$i retina are known to have this issue) - I'll note this in the bug report.

3) The procedure to make the bug happen requires switching to and from the third party SD$$anonymous$$ - this could take hundreds of attempts before the issue is seen - we are going to verify that it happens with this project before sending. Are your QA engineers going to be able to do this process hundreds of times? (note, it has happened on the 2nd attempt in the past, but being non deter$$anonymous$$istic an see$$anonymous$$gly random it could take 1 or 500 tries to reproduce)

4) Project requires third party integration into resulting XCode project. I'll include a fully integrated working XCode project with my bug report if possible - if you'll need a new XCode project the integration will need to be done again on your end - is that doable if I provide instructions?

5) The project I provide to illustrate the issue will need to have the bundle identifier changed and you'll need corresponding apple dev certificates and provisioning profiles to suit - will that be doable?

Thanks for your assistance!

avatar image unimechanic ♦♦ · Jan 20, 2015 at 02:54 PM 0
Share

Let our QA engineers know about those requirements in the bug report and they will take care of that.

avatar image larku · Jan 20, 2015 at 03:11 PM 0
Share

Hi @unimechanic, Cheers, will do.

avatar image unimechanic ♦♦ · Jan 20, 2015 at 03:34 PM 0
Share

Don't forget to reply with the bug case number :)

avatar image hoshurik · Apr 11, 2016 at 07:46 AM 0
Share

@larku , have you managed to fix the problem? What was the issue?

avatar image Vorlex · Apr 12, 2016 at 01:58 PM 0
Share

Hi! We got same issue with third party advertisement SD$$anonymous$$. Did you manage to fix this issue?

avatar image larku · Apr 14, 2016 at 11:56 PM 1
Share

Hey @Playlabs, @Vorlex

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.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity terrain and odd frustum culling behavior 0 Answers

Unity 2017 + Legacy Deferred + Legacy Shader = iPhone Artifacts 0 Answers

Unity Rending Mobile Bug (Android Pixel 4) 0 Answers

Unity editor graphics glitch/bug, scene and game window are not rendering properly 1 Answer

Camera flickers to black in build, but not in Unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges